Spaces:
Sleeping
Sleeping
Download app.py from abidlabs/workflow-app-view-preview: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/spaces/abidlabs/workflow-app-view-preview/resolve/main/app.py
- Command line
-
hf download hf://spaces/abidlabs/workflow-app-view-preview/app.py
-
curl -L -o app.py https://huggingface.co/spaces/abidlabs/workflow-app-view-preview/resolve/main/app.py
413 Bytes
| import gradio as gr | |
| # Side-by-side comparison of two text-to-image models via HF inference | |
| # providers: one shared prompt fans out to krea/Krea-2-Turbo and | |
| # black-forest-labs/FLUX.1-dev, each ending in its own output image. Because | |
| # both outputs share the same input, they're exposed as ONE API endpoint that | |
| # returns both images as a tuple. | |
| demo = gr.Workflow() | |
| if __name__ == "__main__": | |
| demo.launch() | |