alexnasa commited on
Commit
9841bff
·
verified ·
1 Parent(s): ebc32fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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 <= 5:
 
 
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