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