mfarre HF staff commited on
Commit
85aa80e
·
1 Parent(s): 9207cd5

limiting to 30 min

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -275,7 +275,7 @@ def create_ui(examples_path: str, model_path: str):
275
 
276
  try:
277
  duration = get_video_duration_seconds(video)
278
- if duration > 18000: # 30 minutes
279
  yield [
280
  "Video must be shorter than 30 minutes",
281
  "",
 
275
 
276
  try:
277
  duration = get_video_duration_seconds(video)
278
+ if duration > 1800: # 30 minutes
279
  yield [
280
  "Video must be shorter than 30 minutes",
281
  "",