Spaces:
Running
Running
Update app.py
Browse files
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
|
|
|
|
|
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 |
)
|