Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -122,7 +122,7 @@ def calculate_required_time(steps, max_duration):
|
|
| 122 |
20: 3,
|
| 123 |
45: 7,
|
| 124 |
70: 13,
|
| 125 |
-
95:
|
| 126 |
}
|
| 127 |
each_step_s = max_duration_duration_mapping[max_duration]
|
| 128 |
duration_s = (each_step_s * steps) + warmup_s
|
|
|
|
| 122 |
20: 3,
|
| 123 |
45: 7,
|
| 124 |
70: 13,
|
| 125 |
+
95: 21,
|
| 126 |
}
|
| 127 |
each_step_s = max_duration_duration_mapping[max_duration]
|
| 128 |
duration_s = (each_step_s * steps) + warmup_s
|