cheng-hust commited on
Commit
dbb199e
·
verified ·
1 Parent(s): fd9f5d2

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,cope='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.inputs.Radio(['aitod','cope12','COCO'])],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','cope12','COCO'])],outputs="image",title="rt-cope detect")
128
 
129
  interface.launch()