Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,9 +28,9 @@ def main():
|
|
| 28 |
gr.Markdown(title)
|
| 29 |
with gr.Row():
|
| 30 |
question = gr.Textbox(lines=5, label="Enter your math problem")
|
| 31 |
-
max_tokens = gr.Slider(minimum=150, maximum=1200,
|
| 32 |
submit_button = gr.Button("Solve")
|
| 33 |
-
output = gr.Textbox(label="
|
| 34 |
|
| 35 |
submit_button.click(fn=solve_math_problem, inputs=[question, max_tokens], outputs=output)
|
| 36 |
|
|
|
|
| 28 |
gr.Markdown(title)
|
| 29 |
with gr.Row():
|
| 30 |
question = gr.Textbox(lines=5, 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.Textbox(label="๐ฎDeepSeekMath๐")
|
| 34 |
|
| 35 |
submit_button.click(fn=solve_math_problem, inputs=[question, max_tokens], outputs=output)
|
| 36 |
|