Spaces:
Running
Running
Download app_flux.py from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/de54fe0aeabff98614c4d87f5551f8eeb47a053f/app_flux.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@de54fe0aeabff98614c4d87f5551f8eeb47a053f/app_flux.py
-
curl -L -o app_flux.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/de54fe0aeabff98614c4d87f5551f8eeb47a053f/app_flux.py
400 Bytes
| import replicate_gradio | |
| from 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() | |