donb-hf commited on
Commit
d9f0542
·
1 Parent(s): 8619d27

update image input type

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ with gr.Blocks(css="style.css") as demo:
58
  with gr.Tab("Segment/Detect"):
59
  with gr.Row():
60
  with gr.Column():
61
- image = gr.Image(type="pil")
62
  seg_input = gr.Text(label="Entities to Segment/Detect")
63
 
64
  with gr.Column():
 
58
  with gr.Tab("Segment/Detect"):
59
  with gr.Row():
60
  with gr.Column():
61
+ image = gr.Image(type="numpy")
62
  seg_input = gr.Text(label="Entities to Segment/Detect")
63
 
64
  with gr.Column():