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 |
-
inp2= gr.Dropdown(
|
164 |
output = gr.Image(type="pil")
|
165 |
|
166 |
examples=["Examples/Image1.jpg","Examples/Image14.jpg","Examples/Image32.jpg"]
|
|
|
160 |
|
161 |
return Image.fromarray(im0[:,:,::-1])
|
162 |
inp = gr.Image(type="pil")
|
163 |
+
inp2= gr.Dropdown(default="Custom Detection",choices=["Custom Detection","Instance Segmentation","Yolov7 model detection"])
|
164 |
output = gr.Image(type="pil")
|
165 |
|
166 |
examples=["Examples/Image1.jpg","Examples/Image14.jpg","Examples/Image32.jpg"]
|