Spaces:
Runtime error
Runtime error
Yasin Yousif
commited on
Commit
·
abb1dfb
1
Parent(s):
c9c2e8c
update 4
Browse files
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="
|
| 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."
|