Spaces:
Runtime error
Runtime error
Update app.py
Browse files148 unmodified lines149150151152153154148 unmodified linessubmit_button = gr.Button("πSolve")question = gr.Code(language='python', value='what is the integral of x^2 from 0 to 2?', label="π€Enter your math problem")additional_info = gr.Text(value='Please reason step by step, and put your final answer within \\boxed{{}}', label="πͺOptional train-of-thought")with gr.Accordion("π€ UniMath Examples", open=False):gr.Markdown("Click a π€ UniMath example to load it into the solver.")for i, example in enumerate([unimath1, unimath2, unimath3, unimath4], start=1):148 unmodified lines149150151152153154155156157158159148 unmodified linessubmit_button = gr.Button("πSolve")question = gr.Code(language='python', value='what is the integral of x^2 from 0 to 2?', label="π€Enter your math problem")additional_info = gr.Text(value='Please reason step by step, and put your final answer within \\boxed{{}}', label="πͺOptional train-of-thought")def set_example(example):question_field.update(example)additional_info_field.update(additional_info_prompt)with gr.Accordion("π€ UniMath Examples", open=False):gr.Markdown("Click a π€ UniMath example to load it into the solver.")for i, example in enumerate([unimath1, unimath2, unimath3, unimath4], start=1):
app.py+5