alexnasa commited on
Commit
9df3406
·
verified ·
1 Parent(s): 3533cff

duration fixed!

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -193,10 +193,11 @@ def get_duration(
193
 
194
  duration_seconds = 60
195
 
196
- if num_parts > 5:
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