TLDRocket
Sign in

Generative AI

11 summarised stories about Generative AI, each linking back to the original source. Browse all topics →

Sunday, 14 January 2024

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.