Update app.py
Browse files
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="
|
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()
|