yifehuang97 commited on
Commit
b070181
·
verified ·
1 Parent(s): 407376c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -542,12 +542,15 @@ def create_demo():
542
  gr.Markdown("### Examples (Natural Language)")
543
  gr.Examples(
544
  examples=[
 
 
 
 
545
  ["examples/apples.png", "Count apples, exclude green apples"],
546
- ["examples/apple.jpg", "Count apples, not red apples"],
547
  ["examples/black_beans.jpg", "Count black beans, not soy beans"],
548
  ["examples/candy.jpg", "Count brown coffee candy, exclude black coffee candy"],
549
  ["examples/strawberry.jpg", "Count blueberries"],
550
- ["examples/strawberry2.jpg", "Count blueberries"],
551
  ["examples/women.jpg", "Count people, not women"],
552
  ["examples/boat-1.jpg", "Count boats, exclude blue boats"],
553
  ],
 
542
  gr.Markdown("### Examples (Natural Language)")
543
  gr.Examples(
544
  examples=[
545
+ # Case 4: B more general than A → Rewrite B (needs LLM)
546
+ ["examples/apples.png", "Count green apples, not apples"],
547
+ ["examples/apple.jpg", "Count red apples, not apples"],
548
+ # Standard exclusion cases
549
  ["examples/apples.png", "Count apples, exclude green apples"],
 
550
  ["examples/black_beans.jpg", "Count black beans, not soy beans"],
551
  ["examples/candy.jpg", "Count brown coffee candy, exclude black coffee candy"],
552
  ["examples/strawberry.jpg", "Count blueberries"],
553
+ ["examples/strawberry2.jpg", "Count strawberries, not blueberries"],
554
  ["examples/women.jpg", "Count people, not women"],
555
  ["examples/boat-1.jpg", "Count boats, exclude blue boats"],
556
  ],