Spaces:
Runtime error
Runtime error
Update app_4k.py
Browse files
app_4k.py
CHANGED
|
@@ -209,7 +209,7 @@ def load_model_from_path(model_path: str):
|
|
| 209 |
def get_duration(prompt, height, width,
|
| 210 |
negative_prompt, duration_seconds,
|
| 211 |
guidance_scale, steps,
|
| 212 |
-
seed, randomize_seed,
|
| 213 |
progress):
|
| 214 |
if steps > 4 and duration_seconds > 2:
|
| 215 |
return 90
|
|
|
|
| 209 |
def get_duration(prompt, height, width,
|
| 210 |
negative_prompt, duration_seconds,
|
| 211 |
guidance_scale, steps,
|
| 212 |
+
seed, randomize_seed,
|
| 213 |
progress):
|
| 214 |
if steps > 4 and duration_seconds > 2:
|
| 215 |
return 90
|