Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -520,7 +520,7 @@ def create_demo():
|
|
| 520 |
box_threshold = gr.Slider(
|
| 521 |
minimum=0.0,
|
| 522 |
maximum=1.0,
|
| 523 |
-
value=0.
|
| 524 |
step=0.01,
|
| 525 |
label="Threshold"
|
| 526 |
)
|
|
@@ -554,11 +554,13 @@ def create_demo():
|
|
| 554 |
["examples/apple.jpg", "Count apples, exclude green apples"],
|
| 555 |
["examples/black_beans.jpg", "Count black beans and soy beans"],
|
| 556 |
["examples/black_beans.jpg", "Count beans"],
|
|
|
|
| 557 |
["examples/candy.jpg", "Count brown coffee candy, exclude black coffee candy"],
|
| 558 |
["examples/candy.jpg", "Count candy"],
|
| 559 |
["examples/candy.jpg", "Count brown coffee candy and black coffee candy"],
|
| 560 |
["examples/candy.jpg", "Count sausage"],
|
| 561 |
["examples/strawberry.jpg", "Count blueberries and strawberry"],
|
|
|
|
| 562 |
["examples/strawberry2.jpg", "Count blueberries, exclude strawberry"],
|
| 563 |
["examples/women.jpg", "Count people, not women"],
|
| 564 |
["examples/women.jpg", "Count people, not man"],
|
|
|
|
| 520 |
box_threshold = gr.Slider(
|
| 521 |
minimum=0.0,
|
| 522 |
maximum=1.0,
|
| 523 |
+
value=0.42,
|
| 524 |
step=0.01,
|
| 525 |
label="Threshold"
|
| 526 |
)
|
|
|
|
| 554 |
["examples/apple.jpg", "Count apples, exclude green apples"],
|
| 555 |
["examples/black_beans.jpg", "Count black beans and soy beans"],
|
| 556 |
["examples/black_beans.jpg", "Count beans"],
|
| 557 |
+
["examples/black_beans.jpg", "Count pig"],
|
| 558 |
["examples/candy.jpg", "Count brown coffee candy, exclude black coffee candy"],
|
| 559 |
["examples/candy.jpg", "Count candy"],
|
| 560 |
["examples/candy.jpg", "Count brown coffee candy and black coffee candy"],
|
| 561 |
["examples/candy.jpg", "Count sausage"],
|
| 562 |
["examples/strawberry.jpg", "Count blueberries and strawberry"],
|
| 563 |
+
["examples/strawberry.jpg", "Count book"],
|
| 564 |
["examples/strawberry2.jpg", "Count blueberries, exclude strawberry"],
|
| 565 |
["examples/women.jpg", "Count people, not women"],
|
| 566 |
["examples/women.jpg", "Count people, not man"],
|