Update app.py
Browse files
app.py
CHANGED
|
@@ -93,6 +93,6 @@ def detect(img,thr):
|
|
| 93 |
#save_path = Path('./output') / img_path.name
|
| 94 |
return img
|
| 95 |
|
| 96 |
-
interface = gr.Interface(fn=detect,inputs=["image",gr.Slider(label
|
| 97 |
|
| 98 |
interface.launch()
|
|
|
|
| 93 |
#save_path = Path('./output') / img_path.name
|
| 94 |
return img
|
| 95 |
|
| 96 |
+
interface = gr.Interface(fn=detect,inputs=["image",gr.Slider(label="thr", value=0.2, maximum=1, minimum=0)],outputs="image",title="rt-cope detect")
|
| 97 |
|
| 98 |
interface.launch()
|