Yasin Yousif commited on
Commit
abb1dfb
·
1 Parent(s): c9c2e8c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def yolo(im, size=640):
28
 
29
  inputs = gr.inputs.Image(type='pil', label="Original Image")
30
  #outputs = gr.outputs.Image(type="pil", label="Output Image")
31
- outputs = gr.outputs.Textbox(type="text", label="Output Story")
32
 
33
  title = "YOLOv5"
34
  description = "YOLOv5 Gradio demo for object detection. Upload an image or click an example image to use."
 
28
 
29
  inputs = gr.inputs.Image(type='pil', label="Original Image")
30
  #outputs = gr.outputs.Image(type="pil", label="Output Image")
31
+ outputs = gr.outputs.Textbox(type="str", label="Output Story")
32
 
33
  title = "YOLOv5"
34
  description = "YOLOv5 Gradio demo for object detection. Upload an image or click an example image to use."