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/a47c47d615d403f76aa40ae619ed76cf3017ae7a/app_flux.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@a47c47d615d403f76aa40ae619ed76cf3017ae7a/app_flux.py
-
curl -L -o app_flux.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/a47c47d615d403f76aa40ae619ed76cf3017ae7a/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() | |