Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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,
|