Run ComfyUI workflows for free with Gradio on Hugging Face Spaces
Hugging Face Blog 2 years ago
ComfyUI workflows can be converted to free web applications using Gradio and deployed on Hugging Face Spaces with ZeroGPU serverless processing. The conversion process involves exporting a ComfyUI workflow to Python using the ComfyUI-to-Python-Extension, wrapping it in a Gradio interface, and adding model downloads from Hugging Face repositories. Users can then deploy the resulting application to Hugging Face Spaces and run inference for free by adding the @spaces.GPU decorator to their generate function.