Update
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ uploaded_video = gr.inputs.Video(label="Upload Video")
|
|
46 |
iface = gr.Interface(
|
47 |
fn=process_inputs,
|
48 |
inputs=[action, mode_selection, frame, uploaded_video],
|
49 |
-
outputs=[gr.
|
50 |
live=True,
|
51 |
title="YOLO Image Segmentation",
|
52 |
description="This application uses the YOLO model to perform image segmentation on a webcam feed or an uploaded video. Select 'Webcam' or 'Video', upload a video (if applicable), and select 'Start' to begin. Select 'Stop' to end the process.",
|
|
|
46 |
iface = gr.Interface(
|
47 |
fn=process_inputs,
|
48 |
inputs=[action, mode_selection, frame, uploaded_video],
|
49 |
+
outputs=[gr.components.Image(), gr.components.Textbox()],
|
50 |
live=True,
|
51 |
title="YOLO Image Segmentation",
|
52 |
description="This application uses the YOLO model to perform image segmentation on a webcam feed or an uploaded video. Select 'Webcam' or 'Video', upload a video (if applicable), and select 'Start' to begin. Select 'Stop' to end the process.",
|