Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -153,8 +153,7 @@ def Custom_detect(img):
|
|
153 |
|
154 |
return Image.fromarray(im0[:,:,::-1])
|
155 |
inp = gr.Image(type="pil")
|
156 |
-
output = gr.Image(type="numpy")
|
157 |
-
#.style(full_width=True, height=10)
|
158 |
#gr.outputs.Image(type="filepath", label="Output")
|
159 |
#.outputs.Textbox() ,api_mode=True
|
160 |
|
|
|
153 |
|
154 |
return Image.fromarray(im0[:,:,::-1])
|
155 |
inp = gr.Image(type="pil")
|
156 |
+
output = gr.Image(type="numpy").style(full_width=True, height=10)
|
|
|
157 |
#gr.outputs.Image(type="filepath", label="Output")
|
158 |
#.outputs.Textbox() ,api_mode=True
|
159 |
|