Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -27,10 +27,10 @@ def main():
|
|
27 |
with gr.Blocks() as demo:
|
28 |
gr.Markdown(title)
|
29 |
with gr.Row():
|
30 |
-
question = gr.
|
31 |
max_tokens = gr.Slider(minimum=150, maximum=1200, value=250, label="Max Tokens")
|
32 |
submit_button = gr.Button("Solve")
|
33 |
-
output = gr.
|
34 |
|
35 |
submit_button.click(fn=solve_math_problem, inputs=[question, max_tokens], outputs=output)
|
36 |
|
|
|
27 |
with gr.Blocks() as demo:
|
28 |
gr.Markdown(title)
|
29 |
with gr.Row():
|
30 |
+
question = gr.Code(language='python', value='what is the integral of x^2 from 0 to 2?', label="Enter your math problem")
|
31 |
max_tokens = gr.Slider(minimum=150, maximum=1200, value=250, label="Max Tokens")
|
32 |
submit_button = gr.Button("Solve")
|
33 |
+
output = gr.Code(label="🔮DeepSeekMath📉", interactive=False)
|
34 |
|
35 |
submit_button.click(fn=solve_math_problem, inputs=[question, max_tokens], outputs=output)
|
36 |
|