mfarre HF staff commited on
Commit
395daf7
·
1 Parent(s): d78f68b

limiting to 30 min

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -260,7 +260,7 @@ def create_ui(examples_path: str, model_path: str):
260
 
261
  try:
262
  duration = get_video_duration_seconds(video)
263
- if duration > 18000: # 30 minutes
264
  return [
265
  None,
266
  "Video must be shorter than 30 minutes",
 
260
 
261
  try:
262
  duration = get_video_duration_seconds(video)
263
+ if duration > 1800: # 30 minutes
264
  return [
265
  None,
266
  "Video must be shorter than 30 minutes",