Spaces:
Runtime error
Runtime error
aus10powell
commited on
Commit
•
87f58f2
1
Parent(s):
9fab982
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."
|