Download app_replicate.py from CodeByBB/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 550 Bytes
-
https://huggingface.co/spaces/CodeByBB/anycoder/resolve/0be3840e50da25d24d3de8ae8247a2811ffca24f/app_replicate.py
- Command line
-
hf download hf://spaces/CodeByBB/anycoder@0be3840e50da25d24d3de8ae8247a2811ffca24f/app_replicate.py
-
curl -L -o app_replicate.py https://huggingface.co/spaces/CodeByBB/anycoder/resolve/0be3840e50da25d24d3de8ae8247a2811ffca24f/app_replicate.py
550 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", | |
| "zsxkib/hunyuan-video:349dbe0feb6e8e4a6fab3c6a4dd642413e6c10735353de8b40f12abeee203617", | |
| ], | |
| default_model="zsxkib/hunyuan-video:349dbe0feb6e8e4a6fab3c6a4dd642413e6c10735353de8b40f12abeee203617", | |
| src=replicate_gradio.registry, | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |