VigorInfotechLimited commited on
Commit
a980497
·
verified ·
1 Parent(s): 0feee46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 YOLOv8 Object Detection',
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