Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,10 +26,10 @@ def detect_objects(img: Image.Image):
|
|
| 26 |
iface = gr.Interface(
|
| 27 |
fn=detect_objects,
|
| 28 |
#inputs=gr.Image(source='upload', type='pil', tool='editor', label='Upload or Capture Image'),
|
| 29 |
-
inputs = gr.Image(type='pil', label='Upload or Capture Image', tool='editor')
|
| 30 |
|
| 31 |
outputs=gr.Image(type='pil', label='Detected Output'),
|
| 32 |
-
title='VigorVision
|
| 33 |
description='Upload an image to detect objects using Ultralytics YOLOv8 model running directly inside this Hugging Face Space.'
|
| 34 |
)
|
| 35 |
|
|
|
|
| 26 |
iface = gr.Interface(
|
| 27 |
fn=detect_objects,
|
| 28 |
#inputs=gr.Image(source='upload', type='pil', tool='editor', label='Upload or Capture Image'),
|
| 29 |
+
inputs = gr.Image(type='pil', label='Upload or Capture Image', tool='editor'),
|
| 30 |
|
| 31 |
outputs=gr.Image(type='pil', label='Detected Output'),
|
| 32 |
+
title='VigorVision Object Detection',
|
| 33 |
description='Upload an image to detect objects using Ultralytics YOLOv8 model running directly inside this Hugging Face Space.'
|
| 34 |
)
|
| 35 |
|