Spaces:
Running
on
Zero
Running
on
Zero
updates time
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title: AI Video Generator
|
| 3 |
emoji: 🐨
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: red
|
|
|
|
| 1 |
---
|
| 2 |
+
title: AI Video Generator Mochi
|
| 3 |
emoji: 🐨
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: red
|
app.py
CHANGED
|
@@ -82,7 +82,7 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
| 82 |
pipe.enable_model_cpu_offload()
|
| 83 |
pipe.enable_vae_tiling()
|
| 84 |
|
| 85 |
-
@spaces.GPU(duration=
|
| 86 |
def generate_video(prompt, num_frames=84, fps=30, high_quality=False):
|
| 87 |
"""Generate a video based on the input prompt."""
|
| 88 |
if high_quality:
|
|
|
|
| 82 |
pipe.enable_model_cpu_offload()
|
| 83 |
pipe.enable_vae_tiling()
|
| 84 |
|
| 85 |
+
@spaces.GPU(duration=60 * 3)
|
| 86 |
def generate_video(prompt, num_frames=84, fps=30, high_quality=False):
|
| 87 |
"""Generate a video based on the input prompt."""
|
| 88 |
if high_quality:
|