fmajer commited on
Commit
338b885
·
1 Parent(s): db3c3f4

input 200x600

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -89,7 +89,8 @@ the model will binarize each propability based on set eval_threshold.
89
  """
90
  demo = gr.Interface(
91
  query_image,
92
- inputs=[gr.Image(), "text", "checkbox", gr.Slider(0, 1, value=0.25)],
 
93
  #outputs="image",
94
  outputs=gr.Image(type='numpy', label='output').style(height=600, width=600),
95
  title="Object Detection Using Textual Queries",
 
89
  """
90
  demo = gr.Interface(
91
  query_image,
92
+ #inputs=[gr.Image(), "text", "checkbox", gr.Slider(0, 1, value=0.25)],
93
+ inputs=[gr.Image(type='numpy', label='input_img').style(height=200, width=600), "text", "checkbox", gr.Slider(0, 1, value=0.25)],
94
  #outputs="image",
95
  outputs=gr.Image(type='numpy', label='output').style(height=600, width=600),
96
  title="Object Detection Using Textual Queries",