Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -175,10 +175,12 @@ interface = gr.Interface(
|
|
| 175 |
fn=gradio_interface,
|
| 176 |
inputs=[
|
| 177 |
gr.Textbox(label="π§ Math Question", placeholder="Enter your math question here...", elem_id="math_question"),
|
| 178 |
-
|
| 179 |
],
|
| 180 |
outputs=[
|
| 181 |
-
gr.
|
|
|
|
|
|
|
| 182 |
],
|
| 183 |
title="π’ Math Question Solver",
|
| 184 |
description="Enter a math question to get the model's majority-voted answer and steps to solve the problem.",
|
|
|
|
| 175 |
fn=gradio_interface,
|
| 176 |
inputs=[
|
| 177 |
gr.Textbox(label="π§ Math Question", placeholder="Enter your math question here...", elem_id="math_question"),
|
| 178 |
+
|
| 179 |
],
|
| 180 |
outputs=[
|
| 181 |
+
gr.Textbox(label="Majority-Voted Answer", interactive=False), # Non-editable
|
| 182 |
+
gr.Textbox(label="Steps to Solve", interactive=False), # Non-editable
|
| 183 |
+
gr.Textbox(label="β
Correct Solution", interactive=True), # Editable textbox for correct solution
|
| 184 |
],
|
| 185 |
title="π’ Math Question Solver",
|
| 186 |
description="Enter a math question to get the model's majority-voted answer and steps to solve the problem.",
|