import gradio as gr gr.load( "models/black-forest-labs/FLUX.1-schnell", provider="hf-inference", ).launch()