cheng-hust commited on
Commit
1ff6303
·
verified ·
1 Parent(s): b0b07fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,6 +124,6 @@ def detect(img,thr=0.2,trained_dataset='aitod'):
124
  #save_path = Path('./output') / img_path.name
125
  return img
126
 
127
- interface = gr.Interface(fn=detect,inputs=["image",gr.Slider(label="thr", value=0.2, maximum=1, minimum=0),gr.Radio(['aitod','ten_classes','COCO'],value='aitod')],outputs="image",title="rt-cope detect")
128
 
129
  interface.launch()
 
124
  #save_path = Path('./output') / img_path.name
125
  return img
126
 
127
+ interface = gr.Interface(fn=detect,inputs=["image",gr.Slider(label="thr", value=0.2, maximum=1, minimum=0),gr.Radio(['aitod','ten_classes','COCO'],value='aitod')],outputs="image",title="degraded hust small object detect")
128
 
129
  interface.launch()