alexnasa commited on
Commit
fa34c9d
·
verified ·
1 Parent(s): 9a2c41c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -838,7 +838,7 @@ def get_duration(
838
  ):
839
  extra_time = 0
840
 
841
- if audio_path is not None or input_image is None:
842
  extra_time += 10
843
 
844
  if duration <= 5:
 
838
  ):
839
  extra_time = 0
840
 
841
+ if audio_path is not None:
842
  extra_time += 10
843
 
844
  if duration <= 5: