Spaces:
Runtime error
Runtime error
Pawel_Mar
commited on
Commit
·
9907a02
1
Parent(s):
1aadc8f
input correction
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def yoloV8_func(image: gr.inputs.Image = None):
|
|
| 13 |
|
| 14 |
yolo_app = gr.Interface(
|
| 15 |
fn=yoloV8_func,
|
| 16 |
-
inputs=gr.
|
| 17 |
outputs=gr.Textbox(),
|
| 18 |
title="YOLOv8: Custom Instance segmentation on lettuce leafs",
|
| 19 |
cache_examples=True,
|
|
|
|
| 13 |
|
| 14 |
yolo_app = gr.Interface(
|
| 15 |
fn=yoloV8_func,
|
| 16 |
+
inputs=gr.Image(type="filepath", label="Input Image"),
|
| 17 |
outputs=gr.Textbox(),
|
| 18 |
title="YOLOv8: Custom Instance segmentation on lettuce leafs",
|
| 19 |
cache_examples=True,
|