Spaces:
Sleeping
Sleeping
ahmed-masry
commited on
Commit
•
827d7f7
1
Parent(s):
455b667
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def predict(image, input_text):
|
|
39 |
image = gr.components.Image(type="pil", label="Chart Image")
|
40 |
input_prompt = gr.components.Textbox(label="Input Prompt")
|
41 |
model_output = gr.components.Textbox(label="Model Output")
|
42 |
-
examples = [["chart_example_1.png", "Describe the trend of the mortality rates for
|
43 |
["chart_example_2.png", "What is the share of respondants who prefer Facebook Messenger in the 30-59 age group?"]]
|
44 |
|
45 |
title = "Interactive Gradio Demo for ChartInstruct-Llama2 model"
|
|
|
39 |
image = gr.components.Image(type="pil", label="Chart Image")
|
40 |
input_prompt = gr.components.Textbox(label="Input Prompt")
|
41 |
model_output = gr.components.Textbox(label="Model Output")
|
42 |
+
examples = [["chart_example_1.png", "Describe the trend of the mortality rates for the Child category"],
|
43 |
["chart_example_2.png", "What is the share of respondants who prefer Facebook Messenger in the 30-59 age group?"]]
|
44 |
|
45 |
title = "Interactive Gradio Demo for ChartInstruct-Llama2 model"
|