Sa-m commited on
Commit
403621a
·
1 Parent(s): 5cde078

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -153,7 +153,8 @@ def Custom_detect(img):
153
 
154
  return Image.fromarray(im0[:,:,::-1])
155
  inp = gr.Image(type="pil")
156
- output = gr.Image(type="pil").style(full_width=True, height=10)
 
157
  #gr.outputs.Image(type="filepath", label="Output")
158
  #.outputs.Textbox() ,api_mode=True
159
 
 
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