Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,8 @@ demo = gr.Interface(
|
|
43 |
inputs=[
|
44 |
gr.Text(label="Image (B64)"),
|
45 |
gr.Text(label="Queries, in lowercase, separated by full stop", placeholder="a bird. a blue bird."),
|
46 |
-
gr.Number(label="box_threshold",
|
47 |
-
gr.Number(label="text_threshold",
|
48 |
],
|
49 |
outputs=gr.JSON(label="Predictions"),
|
50 |
)
|
|
|
43 |
inputs=[
|
44 |
gr.Text(label="Image (B64)"),
|
45 |
gr.Text(label="Queries, in lowercase, separated by full stop", placeholder="a bird. a blue bird."),
|
46 |
+
gr.Number(label="box_threshold", value=0.4),
|
47 |
+
gr.Number(label="text_threshold", value=0.3)
|
48 |
],
|
49 |
outputs=gr.JSON(label="Predictions"),
|
50 |
)
|