Xkev commited on
Commit
dac91df
·
verified ·
1 Parent(s): 3277eb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ demo = gr.ChatInterface(fn=bot_streaming, title="LLaVA-CoT",
88
  ],
89
  examples=[[{"text": "What is on the flower?", "files": ["./Example1.webp"]},512],
90
  [{"text": "How to make this pastry?", "files": ["./Example2.png"]},512],
91
- [{"text": "Subtract all tiny shiny balls. Subtract all purple objects. How many objects are left? Options: A. 4, B. 8, C. 2, D. 6", "files": ["./reasoning.png"]},512]],
92
  cache_examples=False,
93
  description="Upload an image, and start chatting about it. To learn more about LLaVA-CoT, visit [our GitHub page](https://github.com/PKU-YuanGroup/LLaVA-CoT). Note: Since Gradio currently does not support displaying the special markings in the output, we have replaced it with the expression (Here begins the X phase).",
94
  stop_btn="Stop Generation",
 
88
  ],
89
  examples=[[{"text": "What is on the flower?", "files": ["./Example1.webp"]},512],
90
  [{"text": "How to make this pastry?", "files": ["./Example2.png"]},512],
91
+ [{"text": f"Hint: Please answer the question and provide the correct option letter, e.g., A, B, C, D, at the end.\n Question: Subtract all tiny shiny balls. Subtract all purple objects. How many objects are left?\n Options:\n A. 4\n B. 8\n C. 2\n D. 6", "files": ["./reasoning.png"]},512]],
92
  cache_examples=False,
93
  description="Upload an image, and start chatting about it. To learn more about LLaVA-CoT, visit [our GitHub page](https://github.com/PKU-YuanGroup/LLaVA-CoT). Note: Since Gradio currently does not support displaying the special markings in the output, we have replaced it with the expression (Here begins the X phase).",
94
  stop_btn="Stop Generation",