Spaces:
Running
on
Zero
Running
on
Zero
Update app_exp.py
Browse files- app_exp.py +1 -1
app_exp.py
CHANGED
|
@@ -100,7 +100,7 @@ def torch_gc():
|
|
| 100 |
# -------------------- Video Generation --------------------
|
| 101 |
def check_duration(*_args, duration_t2v=2, **_kwargs):
|
| 102 |
fps = 30
|
| 103 |
-
return duration_t2v * fps
|
| 104 |
|
| 105 |
@spaces.GPU(duration=check_duration)
|
| 106 |
def generate_video(
|
|
|
|
| 100 |
# -------------------- Video Generation --------------------
|
| 101 |
def check_duration(*_args, duration_t2v=2, **_kwargs):
|
| 102 |
fps = 30
|
| 103 |
+
return duration_t2v * fps +30
|
| 104 |
|
| 105 |
@spaces.GPU(duration=check_duration)
|
| 106 |
def generate_video(
|