working version flux
Browse filesFiles changed (3)
- app.py+3
- app_flux.pyAdded+17
- requirements.txt+1
13 unmodified lines14151617181927 unmodified lines47484950515213 unmodified linesfrom app_sambanova import demo as demo_sambanovafrom app_together import demo as demo_togetherfrom app_xai import demo as demo_grokwith gr.Blocks(fill_height=True) as demo:with gr.Tab("Meta Llama"):27 unmodified linesdemo_together.render()with gr.Tab("NVIDIA"):demo_nvidia.render()if __name__ == "__main__":demo.launch(ssr_mode=False)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_fluxwith gr.Blocks(fill_height=True) as demo:with gr.Tab("Meta Llama"):27 unmodified linesdemo_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 lines321322323320 unmodified lines# via gradio-clientxai-gradio==0.0.2# via anychat (pyproject.toml)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.git
app.py+3
app_flux.pyAdded+17
requirements.txt+1