yifehuang97 commited on
Commit
db36b9f
·
verified ·
1 Parent(s): 309cf05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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.50,
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"],