Spaces:
Running
on
Zero
Running
on
Zero
duration fixed!
Browse files
app.py
CHANGED
|
@@ -193,10 +193,11 @@ def get_duration(
|
|
| 193 |
|
| 194 |
duration_seconds = 60
|
| 195 |
|
| 196 |
-
if num_parts >
|
| 197 |
-
duration_seconds = 75
|
| 198 |
-
elif num_parts > 10:
|
| 199 |
duration_seconds = 90
|
|
|
|
|
|
|
|
|
|
| 200 |
return int(duration_seconds)
|
| 201 |
|
| 202 |
|
|
|
|
| 193 |
|
| 194 |
duration_seconds = 60
|
| 195 |
|
| 196 |
+
if num_parts > 10:
|
|
|
|
|
|
|
| 197 |
duration_seconds = 90
|
| 198 |
+
elif num_parts > 5:
|
| 199 |
+
duration_seconds = 75
|
| 200 |
+
|
| 201 |
return int(duration_seconds)
|
| 202 |
|
| 203 |
|