Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def display_video(video_file):
|
|
| 12 |
# Create Gradio interface with UploadButton and Video components
|
| 13 |
interface = gr.Interface(
|
| 14 |
fn=display_video,
|
| 15 |
-
inputs=gr.
|
| 16 |
outputs=gr.Video(label="Uploaded Video"),
|
| 17 |
title="Video Uploader",
|
| 18 |
description="Upload a video file to display it here."
|
|
|
|
| 12 |
# Create Gradio interface with UploadButton and Video components
|
| 13 |
interface = gr.Interface(
|
| 14 |
fn=display_video,
|
| 15 |
+
inputs=gr.load(name="Upload Video", file_types=["video"]),
|
| 16 |
outputs=gr.Video(label="Uploaded Video"),
|
| 17 |
title="Video Uploader",
|
| 18 |
description="Upload a video file to display it here."
|