Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,11 +127,11 @@ def check_duration(
|
|
| 127 |
progress
|
| 128 |
):
|
| 129 |
if use_distill and resolution=="480p":
|
| 130 |
-
return
|
| 131 |
elif resolution=="720p":
|
| 132 |
-
return
|
| 133 |
else:
|
| 134 |
-
return
|
| 135 |
|
| 136 |
@spaces.GPU(duration=check_duration)
|
| 137 |
def generate_video(
|
|
|
|
| 127 |
progress
|
| 128 |
):
|
| 129 |
if use_distill and resolution=="480p":
|
| 130 |
+
return 180
|
| 131 |
elif resolution=="720p":
|
| 132 |
+
return 180
|
| 133 |
else:
|
| 134 |
+
return 180
|
| 135 |
|
| 136 |
@spaces.GPU(duration=check_duration)
|
| 137 |
def generate_video(
|