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