Hugging Face Integration
FileCast provides specialized endpoints and Gradio components for the Hugging Face community.
Deployment Strategy
When deploying a Gradio Space on Hugging Face, use the FileCast integration to handle massive datasets without overloading the Space's local storage limits.
Using with Gradio
import gradio as gr
from filecast import HF_Adapter
adapter = HF_Adapter()
def process_file(file):
url = adapter.delegate_hosting(file)
return f"View persistent original: {url}"
demo = gr.Interface(fn=process_file, inputs="file", outputs="text")
demo.launch()🤗 Certified Hugging Face Partner
FileCast processing nodes are fine-tuned to work alongside Hugging Face inference endpoints, ensuring zero latency when moving data between models and hosting.