Download app.py from TheContrast/tencent-HunyuanVideo-I2V: direct link, hf CLI and curl.
- Browser
- Download file 412 Bytes
-
https://huggingface.co/spaces/TheContrast/tencent-HunyuanVideo-I2V/resolve/main/app.py
- Command line
-
hf download hf://spaces/TheContrast/tencent-HunyuanVideo-I2V/app.py
-
curl -L -o app.py https://huggingface.co/spaces/TheContrast/tencent-HunyuanVideo-I2V/resolve/main/app.py
412 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 tencent/HunyuanVideo-I2V model. Sign in with your Hugging Face account to use this API.") | |
| button = gr.LoginButton("Sign in") | |
| gr.load("models/tencent/HunyuanVideo-I2V", accept_token=button, provider="auto") | |
| demo.launch() |