Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -158,13 +158,13 @@ custom_css = """
|
|
| 158 |
interface = gr.Interface(
|
| 159 |
fn=gradio_interface,
|
| 160 |
inputs=[
|
| 161 |
-
gr.Textbox(label="Math Question", placeholder="Enter your math question here...", elem_id="math_question", elem_classes="bold-label"),
|
| 162 |
-
gr.Textbox(label="Correct Answer", placeholder="Enter the correct answer here...", elem_id="correct_answer", elem_classes="bold-label"),
|
| 163 |
],
|
| 164 |
outputs=[
|
| 165 |
-
gr.JSON(label="Results"
|
| 166 |
],
|
| 167 |
-
title="Math Question Solver",
|
| 168 |
description="Enter a math question to get the model prediction and see all generated answers.",
|
| 169 |
css=custom_css # Apply custom CSS
|
| 170 |
)
|
|
|
|
| 158 |
interface = gr.Interface(
|
| 159 |
fn=gradio_interface,
|
| 160 |
inputs=[
|
| 161 |
+
gr.Textbox(label="π§ Math Question", placeholder="Enter your math question here...", elem_id="math_question", elem_classes="bold-label"),
|
| 162 |
+
gr.Textbox(label="β
Correct Answer", placeholder="Enter the correct answer here...", elem_id="correct_answer", elem_classes="bold-label"),
|
| 163 |
],
|
| 164 |
outputs=[
|
| 165 |
+
gr.JSON(label="π Results"), # Display the results in a JSON format
|
| 166 |
],
|
| 167 |
+
title="π’ Math Question Solver",
|
| 168 |
description="Enter a math question to get the model prediction and see all generated answers.",
|
| 169 |
css=custom_css # Apply custom CSS
|
| 170 |
)
|