nickmuchi commited on
Commit
a1f6a93
1 Parent(s): baa6943

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -80,6 +80,7 @@ def detect_objects(model_name,url,image_upload,threshold):
80
  #examples=[['facebook/detr-resnet-50','https://media-cldnry.s-nbcnews.com/image/upload/t_fit-1500w,f_auto,q_auto:best/newscms/2020_14/3290756/200331-wall-street-ew-#343p.jpg',,0.7]
81
 
82
 
 
83
  title = 'Object Detection App with DETR and YOLOS'
84
 
85
  description = """
@@ -111,7 +112,7 @@ with app:
111
 
112
  url_but = gr.Button('Detect')
113
 
114
- with gr.Tabitem('Image Upload):
115
  with gr.Row():
116
  img_input = gr.Image(type='pil')
117
  img_output_from_upload= gr.Image(shape=(450,450))
 
80
  #examples=[['facebook/detr-resnet-50','https://media-cldnry.s-nbcnews.com/image/upload/t_fit-1500w,f_auto,q_auto:best/newscms/2020_14/3290756/200331-wall-street-ew-#343p.jpg',,0.7]
81
 
82
 
83
+
84
  title = 'Object Detection App with DETR and YOLOS'
85
 
86
  description = """
 
112
 
113
  url_but = gr.Button('Detect')
114
 
115
+ with gr.Tabitem('Image Upload'):
116
  with gr.Row():
117
  img_input = gr.Image(type='pil')
118
  img_output_from_upload= gr.Image(shape=(450,450))