Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def extract_frames(video_path):
|
|
70 |
# Create the Gradio interface
|
71 |
iface = gr.Interface(
|
72 |
fn=extract_frames,
|
73 |
-
inputs=gr.
|
74 |
outputs=[gr.Image(label=f"Frame at {i*25}%") for i in range(4)],
|
75 |
title="Video Frame Extractor",
|
76 |
description="Upload a video to extract four frames from different parts of the video."
|
|
|
70 |
# Create the Gradio interface
|
71 |
iface = gr.Interface(
|
72 |
fn=extract_frames,
|
73 |
+
inputs=gr.Text(label="Upload a video"),
|
74 |
outputs=[gr.Image(label=f"Frame at {i*25}%") for i in range(4)],
|
75 |
title="Video Frame Extractor",
|
76 |
description="Upload a video to extract four frames from different parts of the video."
|