Download app.py from 1Root1AI/Wan-AI-Wan2.2-I2V-A14B-Diffusers: direct link, hf CLI and curl.
- Browser
- Download file 456 Bytes
-
https://huggingface.co/spaces/1Root1AI/Wan-AI-Wan2.2-I2V-A14B-Diffusers/resolve/main/app.py
- Command line
-
hf download hf://spaces/1Root1AI/Wan-AI-Wan2.2-I2V-A14B-Diffusers/app.py
-
curl -L -o app.py https://huggingface.co/spaces/1Root1AI/Wan-AI-Wan2.2-I2V-A14B-Diffusers/resolve/main/app.py
456 Bytes
| import gradio as gr | |
| with gr.Blocks(fill_height=True) as demo: | |
| with gr.Sidebar(): | |
| gr.Markdown("# Inference Provider") | |
| gr.Markdown("This Space showcases the Wan-AI/Wan2.2-I2V-A14B-Diffusers model, served by the fal-ai API. Sign in with your Hugging Face account to use this API.") | |
| button = gr.LoginButton("Sign in") | |
| gr.load("models/Wan-AI/Wan2.2-I2V-A14B-Diffusers", accept_token=button, provider="fal-ai") | |
| demo.launch() |