Ermond commited on
Commit
91b8028
·
verified ·
1 Parent(s): 3b64d74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -38,7 +38,9 @@ demo = gr.Interface(
38
  fn=predict,
39
  inputs=[
40
  gr.Text(label="Image (B64)"),
41
- gr.Text(label="Queries", placeholder="A photo of a dog,A photo of a cat")
 
 
42
  ],
43
  outputs=gr.JSON(label="Predictions"),
44
  )
 
38
  fn=predict,
39
  inputs=[
40
  gr.Text(label="Image (B64)"),
41
+ gr.Text(label="Queries, in lowercase, separated by full stop", placeholder="a bird. a blue bird."),
42
+ gr.Number(label="box_threshold"),
43
+ gr.Number(label="text_threshold")
44
  ],
45
  outputs=gr.JSON(label="Predictions"),
46
  )