fl399 commited on
Commit
02cdd1e
1 Parent(s): 042774a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,8 +29,8 @@ image = gr.inputs.Image(type="pil", label="Chart")
29
  question = gr.inputs.Textbox(label="Question")
30
  answer = gr.outputs.Textbox(label="Model Output")
31
  examples = [["chart_example.png", "Which country has the second highest death rate?"],
32
- ["chart_example_2.png", "Which year has the smallest gap between B2B and B2C sales?"],
33
- ["chart_example_3.png", "Which country has the highest CPA received in 2005?"],] # ["chart_example_4.png"]]
34
 
35
  title = "Interactive demo: Chart QA with MatCha"
36
  description = "Gradio Demo for the [matcha](https://arxiv.org/abs/2212.09662) model, fine-tuned on the [ChartQA](https://paperswithcode.com/dataset/chartqa) dataset. To use it, simply upload your image and click 'submit', or click one of the examples to load them."
 
29
  question = gr.inputs.Textbox(label="Question")
30
  answer = gr.outputs.Textbox(label="Model Output")
31
  examples = [["chart_example.png", "Which country has the second highest death rate?"],
32
+ ["chart_example_2.png", "What is the highest number of B2C sales ever achived?"],
33
+ ["chart_example_3.png", "Which country has the lowest CPA received across all times?"],] # ["chart_example_4.png"]]
34
 
35
  title = "Interactive demo: Chart QA with MatCha"
36
  description = "Gradio Demo for the [matcha](https://arxiv.org/abs/2212.09662) model, fine-tuned on the [ChartQA](https://paperswithcode.com/dataset/chartqa) dataset. To use it, simply upload your image and click 'submit', or click one of the examples to load them."