Spaces:
Runtime error
Runtime error
Alternatives
Browse files
app.py
CHANGED
|
@@ -138,7 +138,7 @@ def create_demo(model_path):
|
|
| 138 |
|
| 139 |
with gr.Accordion("Advanced Options", open=False):
|
| 140 |
with gr.Column():
|
| 141 |
-
seed = gr.
|
| 142 |
guidance_scale = gr.Slider(1.0, 20.0, value=1.0, step=0.5, label="Guidance Scale")
|
| 143 |
flow_shift = gr.Slider(0.0, 10.0, value=7.0, step=0.1, label="Flow Shift")
|
| 144 |
embedded_guidance_scale = gr.Slider(1.0, 20.0, value=6.0, step=0.5, label="Embedded Guidance Scale")
|
|
@@ -147,6 +147,11 @@ def create_demo(model_path):
|
|
| 147 |
|
| 148 |
with gr.Column():
|
| 149 |
output = gr.Video(label = "Generated Video", autoplay = True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 150 |
|
| 151 |
generate_btn.click(
|
| 152 |
fn=lambda *inputs: generate_video(model, *inputs),
|
|
|
|
| 138 |
|
| 139 |
with gr.Accordion("Advanced Options", open=False):
|
| 140 |
with gr.Column():
|
| 141 |
+
seed = gr.Slider(label="Seed (-1 for random)", value=-1, minimum=-1, maximum=2**63 - 1)
|
| 142 |
guidance_scale = gr.Slider(1.0, 20.0, value=1.0, step=0.5, label="Guidance Scale")
|
| 143 |
flow_shift = gr.Slider(0.0, 10.0, value=7.0, step=0.1, label="Flow Shift")
|
| 144 |
embedded_guidance_scale = gr.Slider(1.0, 20.0, value=6.0, step=0.5, label="Embedded Guidance Scale")
|
|
|
|
| 147 |
|
| 148 |
with gr.Column():
|
| 149 |
output = gr.Video(label = "Generated Video", autoplay = True)
|
| 150 |
+
|
| 151 |
+
gr.Markdown("""
|
| 152 |
+
## **Alternatives**
|
| 153 |
+
If you can't use _Hunyuan Video_, you can use _[CogVideoX](https://huggingface.co/spaces/THUDM/CogVideoX-5B-Space)_ or _[LTX Video Playground](https://huggingface.co/spaces/Lightricks/LTX-Video-Playground)_ instead.
|
| 154 |
+
""")
|
| 155 |
|
| 156 |
generate_btn.click(
|
| 157 |
fn=lambda *inputs: generate_video(model, *inputs),
|