Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -150,8 +150,12 @@ def generate_video(prompt, height, width,
|
|
150 |
video_path = tmpfile.name
|
151 |
export_to_video(output_frames_list, video_path, fps=FIXED_OUTPUT_FPS)
|
152 |
return video_path, current_seed
|
|
|
|
|
153 |
|
154 |
with gr.Blocks() as demo:
|
|
|
|
|
155 |
gr.Markdown("# ⚡ InstaVideo")
|
156 |
gr.Markdown("This Gradio space is a fork of [wan2-1-fast from multimodalart](https://huggingface.co/spaces/multimodalart/wan2-1-fast), and is powered by the Wan CausVid LoRA [from Kijai](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors).")
|
157 |
|
|
|
150 |
video_path = tmpfile.name
|
151 |
export_to_video(output_frames_list, video_path, fps=FIXED_OUTPUT_FPS)
|
152 |
return video_path, current_seed
|
153 |
+
|
154 |
+
|
155 |
|
156 |
with gr.Blocks() as demo:
|
157 |
+
gr.HTML('<meta name="viewport" content="width=device-width, initial-scale=1">')
|
158 |
+
# ... your other components here ...
|
159 |
gr.Markdown("# ⚡ InstaVideo")
|
160 |
gr.Markdown("This Gradio space is a fork of [wan2-1-fast from multimodalart](https://huggingface.co/spaces/multimodalart/wan2-1-fast), and is powered by the Wan CausVid LoRA [from Kijai](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_CausVid_bidirect2_T2V_1_3B_lora_rank32.safetensors).")
|
161 |
|