Spaces:
Runtime error
Runtime error
Cartinoe5930
commited on
Commit
•
e114200
1
Parent(s):
29410ee
Update app.py
Browse files
app.py
CHANGED
@@ -249,9 +249,6 @@ with gr.Blocks() as demo:
|
|
249 |
model2_output3 = gr.Textbox(label="2️⃣ model's final response")
|
250 |
model3_output3 = gr.Textbox(label="3️⃣ model's final response")
|
251 |
|
252 |
-
with gr.Accordion("※ Specific information about LLM Agora", open=False):
|
253 |
-
gr.Markdown(SPECIFIC_INFORMATION)
|
254 |
-
|
255 |
|
256 |
with gr.Tab("Math"):
|
257 |
math_cot = gr.Checkbox(label="CoT", info="If you want to see CoT result, please check the box.")
|
@@ -361,6 +358,6 @@ with gr.Blocks() as demo:
|
|
361 |
gr.Markdown(SPECIFIC_INFORMATION)
|
362 |
|
363 |
warmup_button.click(warmup, [], [options, inputbox, submit, warmup_button, welcome_message])
|
364 |
-
submit.click(inference, [model_list,
|
365 |
|
366 |
demo.launch()
|
|
|
249 |
model2_output3 = gr.Textbox(label="2️⃣ model's final response")
|
250 |
model3_output3 = gr.Textbox(label="3️⃣ model's final response")
|
251 |
|
|
|
|
|
|
|
252 |
|
253 |
with gr.Tab("Math"):
|
254 |
math_cot = gr.Checkbox(label="CoT", info="If you want to see CoT result, please check the box.")
|
|
|
358 |
gr.Markdown(SPECIFIC_INFORMATION)
|
359 |
|
360 |
warmup_button.click(warmup, [], [options, inputbox, submit, warmup_button, welcome_message])
|
361 |
+
submit.click(inference, [model_list, question, API_KEY, cot], [output_msg, output_col, model1_output1, model2_output1, model3_output1, summarization_text1, model1_output2, model2_output2, model3_output2, summarization_text2, model1_output3, model2_output3, model3_output3])
|
362 |
|
363 |
demo.launch()
|