xmrt commited on
Commit
a242108
·
1 Parent(s): a624832
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -36,9 +36,6 @@ def check_extension(video):
36
 
37
  clip = moviepy.VideoFileClip(video)
38
 
39
- if clip.duration > 10:
40
- raise gr.Error("Please provide or record a video shorter than 10 seconds...")
41
-
42
  split_tup = os.path.splitext(video)
43
 
44
  # extract the file name and extension
 
36
 
37
  clip = moviepy.VideoFileClip(video)
38
 
 
 
 
39
  split_tup = os.path.splitext(video)
40
 
41
  # extract the file name and extension