working version flux
Browse filesFiles changed (3)
- app.py+3
- app_flux.pyAdded+17
- requirements.txt+1
13 unmodified lines1415161718192027 unmodified lines484950515253545513 unmodified linesfrom app_sambanova import demo as demo_sambanovafrom app_together import demo as demo_togetherfrom app_xai import demo as demo_grokfrom app_flux import demo as demo_flux
with gr.Blocks(fill_height=True) as demo: with gr.Tab("Meta Llama"):27 unmodified lines demo_together.render() with gr.Tab("NVIDIA"): demo_nvidia.render() with gr.Tab("Flux"): demo_flux.render()
if __name__ == "__main__": demo.launch(ssr_mode=False)1234567891011121314151617import osimport replicate_gradiofrom utils import get_app
demo = get_app( models=[ "black-forest-labs/flux-depth-pro", "black-forest-labs/flux-canny-pro", "black-forest-labs/flux-fill-pro", "black-forest-labs/flux-depth-dev" ], default_model="black-forest-labs/flux-depth-pro", src=replicate_gradio.registry,)
if __name__ == "__main__": demo.launch()320 unmodified lines321322323324320 unmodified lines # via gradio-clientxai-gradio==0.0.2 # via anychat (pyproject.toml)replicate-gradio @ git+https://github.com/AK391/replicate-gradio.gitapp.py+3
app_flux.pyAdded+17
requirements.txt+1