fmajer commited on
Commit
7b4814f
·
1 Parent(s): 02ca40c

apperance change

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,14 +52,14 @@ def query_image(input_img, query, binarize, eval_threshold):
52
  # Gradio interface
53
  description = """
54
  Gradio demo for an object detection architecture,
55
- introduced in <a href="https://www.google.com/">my bachelor thesis (link will be added)</a>.
56
  \n\nLorem ipsum ....
57
  *"image of a shoe"*. Refer to the <a href="https://arxiv.org/abs/2103.00020">CLIP</a> paper to see the full list of text templates used to augment the training data.
58
  """
59
  demo = gr.Interface(
60
  query_image,
61
  inputs=[gr.Image(), "text", "checkbox", gr.Slider(0, 1, value=0.25)],
62
- outputs="image",
63
  title="Object Detection Using Textual Queries",
64
  description=description,
65
  examples=[
 
52
  # Gradio interface
53
  description = """
54
  Gradio demo for an object detection architecture,
55
+ introduced in <a href="https://www.google.com/">my bachelor thesis</a> (link will be added).
56
  \n\nLorem ipsum ....
57
  *"image of a shoe"*. Refer to the <a href="https://arxiv.org/abs/2103.00020">CLIP</a> paper to see the full list of text templates used to augment the training data.
58
  """
59
  demo = gr.Interface(
60
  query_image,
61
  inputs=[gr.Image(), "text", "checkbox", gr.Slider(0, 1, value=0.25)],
62
+ outputs=gr.Image(type='type', label='output').style(height=400, width=400),
63
  title="Object Detection Using Textual Queries",
64
  description=description,
65
  examples=[