Spaces:
Runtime error
Runtime error
Fix the bug of incorrect variable name
Browse files
app.css
CHANGED
@@ -151,4 +151,5 @@
|
|
151 |
|
152 |
.problem-input-markdown {
|
153 |
padding: 18px;
|
|
|
154 |
}
|
|
|
151 |
|
152 |
.problem-input-markdown {
|
153 |
padding: 18px;
|
154 |
+
border: 1px solid rgba(0, 0, 0, 0.15);
|
155 |
}
|
app.py
CHANGED
@@ -840,7 +840,7 @@ with gr.Blocks(css=css, title="Math Olympiad Solver") as demo:
|
|
840 |
def mount_run_btn(btn):
|
841 |
btn.click(fn=solve_problem_wrapper, inputs=[inp, temperature], outputs=out)
|
842 |
btn.click(get_running_btns, None, outputs=btn_list)
|
843 |
-
btn.click(
|
844 |
|
845 |
def get_run_after_problem_input():
|
846 |
return gr.Textbox(placeholder="Problem", label="Problem input", lines=5, visible=False), gr.Markdown(
|
|
|
840 |
def mount_run_btn(btn):
|
841 |
btn.click(fn=solve_problem_wrapper, inputs=[inp, temperature], outputs=out)
|
842 |
btn.click(get_running_btns, None, outputs=btn_list)
|
843 |
+
btn.click(get_run_after_problem_input, None, outputs=problem_input_ele_list)
|
844 |
|
845 |
def get_run_after_problem_input():
|
846 |
return gr.Textbox(placeholder="Problem", label="Problem input", lines=5, visible=False), gr.Markdown(
|