Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,9 +33,8 @@ torch._dynamo.config.recompile_limit = 1000
|
|
| 33 |
torch._dynamo.config.capture_dynamic_output_shape_ops = True
|
| 34 |
|
| 35 |
# Duration function
|
| 36 |
-
def get_duration(
|
| 37 |
-
|
| 38 |
-
progress):
|
| 39 |
if duration_seconds <= 2.5
|
| 40 |
return steps * 18
|
| 41 |
else:
|
|
|
|
| 33 |
torch._dynamo.config.capture_dynamic_output_shape_ops = True
|
| 34 |
|
| 35 |
# Duration function
|
| 36 |
+
def get_duration(prompt,seed,steps, duration_seconds,progress):
|
| 37 |
+
|
|
|
|
| 38 |
if duration_seconds <= 2.5
|
| 39 |
return steps * 18
|
| 40 |
else:
|