Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ def Custom_detect(img,mode):
|
|
160 |
|
161 |
return Image.fromarray(im0[:,:,::-1])
|
162 |
inp = gr.Image(type="pil")
|
163 |
-
|
164 |
inp2= gr.Dropdown(default="Custom Detection",choices=["Custom-Detection","Instance-Segmentation","Yolov7-model-detection"])
|
165 |
output = gr.Image(type="pil")
|
166 |
|
|
|
160 |
|
161 |
return Image.fromarray(im0[:,:,::-1])
|
162 |
inp = gr.Image(type="pil")
|
163 |
+
|
164 |
inp2= gr.Dropdown(default="Custom Detection",choices=["Custom-Detection","Instance-Segmentation","Yolov7-model-detection"])
|
165 |
output = gr.Image(type="pil")
|
166 |
|