Spaces:
Running
Running
Commit
·
52ea898
1
Parent(s):
9a338f5
Update app.py
Browse files
app.py
CHANGED
@@ -194,11 +194,11 @@ with gr.Blocks() as demo:
|
|
194 |
|
195 |
with gr.Tab("Math"):
|
196 |
math_cot = gr.Checkbox(label="CoT", info="If you want to see CoT result, please check the box.")
|
197 |
-
math_question_list = gr.Dropdown(math_questions, label="Math Question", every=0.1)
|
198 |
|
199 |
with gr.Column():
|
200 |
with gr.Row(elem_id="model1_response"):
|
201 |
-
math_model1_output1 = gr.Textbox(label="Llama2🦙's 1️⃣st response"
|
202 |
math_model2_output1 = gr.Textbox(label="WizardLM🧙♂️'s 1️⃣st response")
|
203 |
math_model3_output1 = gr.Textbox(label="Orca🐬's 1️⃣st response")
|
204 |
math_summarization_text1 = gr.Textbox(lebel="Summarization 1️⃣")
|
|
|
194 |
|
195 |
with gr.Tab("Math"):
|
196 |
math_cot = gr.Checkbox(label="CoT", info="If you want to see CoT result, please check the box.")
|
197 |
+
math_question_list = gr.Dropdown(math_questions, label="Math Question", every=0.1, type="index")
|
198 |
|
199 |
with gr.Column():
|
200 |
with gr.Row(elem_id="model1_response"):
|
201 |
+
math_model1_output1 = gr.Textbox(label="Llama2🦙's 1️⃣st response") # value=math_result[math_question_list]["agent_response"]["llama"][0]
|
202 |
math_model2_output1 = gr.Textbox(label="WizardLM🧙♂️'s 1️⃣st response")
|
203 |
math_model3_output1 = gr.Textbox(label="Orca🐬's 1️⃣st response")
|
204 |
math_summarization_text1 = gr.Textbox(lebel="Summarization 1️⃣")
|