Makima57 commited on
Commit
6ee91f4
·
verified ·
1 Parent(s): cbc4a42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -175,10 +175,11 @@ 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
- gr.Textbox(label="✅ Correct Answer", placeholder="Enter the correct answer here...", elem_id="correct_answer"),
179
  ],
180
  outputs=[
181
  gr.JSON(label="📊 Results"), # Display the results in a JSON format
 
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.JSON(label="📊 Results"), # Display the results in a JSON format
182
+ gr.Textbox(label="✅ Correct Solution", interactive=True)
183
  ],
184
  title="🔢 Math Question Solver",
185
  description="Enter a math question to get the model's majority-voted answer and steps to solve the problem.",