Spaces:
Running
on
Zero
Running
on
Zero
Update app.py (#2)
Browse files- Update app.py (98793b8809ef5f6db9c9360f45fa89d572b4feea)
Co-authored-by: Linoy Tsaban <linoyts@users.noreply.huggingface.co>
app.py
CHANGED
@@ -164,7 +164,7 @@ def generate_video(
|
|
164 |
# --- 3. Gradio Interface ---
|
165 |
css = ".gradio-container {max-width: 1100px !important; margin: 0 auto} #output_video {height: 500px;} #input_image {height: 500px;}"
|
166 |
|
167 |
-
with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
168 |
gr.Markdown("# Wan 2.2 TI2V 5B")
|
169 |
gr.Markdown("generate high quality videos using **Wan 2.2 5B Text-Image-to-Video model**,[[model]](https://huggingface.co/Wan-AI/Wan2.2-TI2V-5B),[[paper]](https://arxiv.org/abs/2503.20314)")
|
170 |
|
|
|
164 |
# --- 3. Gradio Interface ---
|
165 |
css = ".gradio-container {max-width: 1100px !important; margin: 0 auto} #output_video {height: 500px;} #input_image {height: 500px;}"
|
166 |
|
167 |
+
with gr.Blocks(css=css, theme=gr.themes.Soft(), delete_cache=(60, 900)) as demo:
|
168 |
gr.Markdown("# Wan 2.2 TI2V 5B")
|
169 |
gr.Markdown("generate high quality videos using **Wan 2.2 5B Text-Image-to-Video model**,[[model]](https://huggingface.co/Wan-AI/Wan2.2-TI2V-5B),[[paper]](https://arxiv.org/abs/2503.20314)")
|
170 |
|