Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,7 @@ def chart_qa(image, question):
|
|
26 |
|
27 |
|
28 |
image = gr.inputs.Image(type="pil", label="Chart")
|
|
|
29 |
answer = gr.outputs.Textbox(label="Model Output")
|
30 |
examples = [["chart_example.png", "Which country has the second highest death rate?"], ]
|
31 |
#["chart_example_2.png"], ["chart_example_3.png"], ["chart_example_4.png"]]
|
|
|
26 |
|
27 |
|
28 |
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"], ["chart_example_3.png"], ["chart_example_4.png"]]
|