hasnatz commited on
Commit
a151f4c
·
verified ·
1 Parent(s): 3f6fd7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ with gr.Blocks(theme=custom_theme) as demo:
94
  and returns the file path for Gradio Video playback.
95
  """
96
  video_path = model.process_video_to_file(
97
- video_file.name, # video_file is a temporary file object
98
  max_duration=5,
99
  target_fps=5,
100
  max_height=640,
 
94
  and returns the file path for Gradio Video playback.
95
  """
96
  video_path = model.process_video_to_file(
97
+ video_file, # video_file is a temporary file object
98
  max_duration=5,
99
  target_fps=5,
100
  max_height=640,