Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -128,11 +128,7 @@ def create_demo(model_path):
|
|
128 |
if torch.cuda.device_count() == 0:
|
129 |
with gr.Row():
|
130 |
gr.HTML("""
|
131 |
-
<p style="background-color: red;"><big><big><big><b>⚠️To use <i>Hunyuan Video</i
|
132 |
-
|
133 |
-
You can't use <i>Hunyuan Video</i> directly here because this space runs on a CPU, which is not enough for <i>Hunyuan Video</i>. Please provide <a href="https://huggingface.co/spaces/Fabrice-TIERCELIN/HunyuanVideo/discussions/new">feedback</a> if you have issues.
|
134 |
-
</big></big></big></p><br/>
|
135 |
-
<p style="background-color: light-green;"><big>The space has been successfully deployed on A100 space on 2025-01-23. Synchronize your space to fix the errors.</big></p>
|
136 |
""")
|
137 |
gr.Markdown("# Hunyuan Video Generation")
|
138 |
|
@@ -181,9 +177,7 @@ def create_demo(model_path):
|
|
181 |
output = gr.Video(label = "Generated Video", autoplay = True)
|
182 |
|
183 |
gr.Markdown("""
|
184 |
-
|
185 |
-
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.
|
186 |
-
""")
|
187 |
|
188 |
generate_btn.click(
|
189 |
fn=generate_video,
|
|
|
128 |
if torch.cuda.device_count() == 0:
|
129 |
with gr.Row():
|
130 |
gr.HTML("""
|
131 |
+
<p style="background-color: red;"><big><big><big><b>⚠️To use <i>Hunyuan Video</i>,</p>
|
|
|
|
|
|
|
|
|
132 |
""")
|
133 |
gr.Markdown("# Hunyuan Video Generation")
|
134 |
|
|
|
177 |
output = gr.Video(label = "Generated Video", autoplay = True)
|
178 |
|
179 |
gr.Markdown("""
|
180 |
+
""")
|
|
|
|
|
181 |
|
182 |
generate_btn.click(
|
183 |
fn=generate_video,
|