Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -856,7 +856,9 @@ def get_duration(
|
|
| 856 |
if audio_path is not None:
|
| 857 |
extra_time += 10
|
| 858 |
|
| 859 |
-
if duration <=
|
|
|
|
|
|
|
| 860 |
return 80 + extra_time
|
| 861 |
elif duration <= 10:
|
| 862 |
return 120 + extra_time
|
|
|
|
| 856 |
if audio_path is not None:
|
| 857 |
extra_time += 10
|
| 858 |
|
| 859 |
+
if duration <= 3:
|
| 860 |
+
return 60 + extra_time
|
| 861 |
+
elif duration <= 5:
|
| 862 |
return 80 + extra_time
|
| 863 |
elif duration <= 10:
|
| 864 |
return 120 + extra_time
|