asif00 commited on
Commit
4886b30
·
1 Parent(s): 31f9d33
Files changed (1) hide show
  1. app.py +1 -1
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.outputs.Image(), gr.outputs.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.",
 
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.",