Upload app.py
Browse files
app.py
CHANGED
|
@@ -706,7 +706,6 @@ def ui_surprise(selector, filter_label="any"):
|
|
| 706 |
components_to_clear = [
|
| 707 |
question_input,
|
| 708 |
solution_input,
|
| 709 |
-
expected_label_example,
|
| 710 |
]
|
| 711 |
|
| 712 |
|
|
@@ -740,7 +739,7 @@ with gr.Blocks(title="Math Solution Classifier", theme=gr.themes.Soft()) as app:
|
|
| 740 |
)
|
| 741 |
with gr.Row():
|
| 742 |
classify_btn = gr.Button("Classify Solution", variant="primary")
|
| 743 |
-
surprise_btn = gr.Button("Surprise me")
|
| 744 |
clear_btn = clear_btn = gr.ClearButton(components=components_to_clear, value="Clear")
|
| 745 |
|
| 746 |
# -------- Right: outputs --------
|
|
|
|
| 706 |
components_to_clear = [
|
| 707 |
question_input,
|
| 708 |
solution_input,
|
|
|
|
| 709 |
]
|
| 710 |
|
| 711 |
|
|
|
|
| 739 |
)
|
| 740 |
with gr.Row():
|
| 741 |
classify_btn = gr.Button("Classify Solution", variant="primary")
|
| 742 |
+
surprise_btn = gr.Button("Surprise me")
|
| 743 |
clear_btn = clear_btn = gr.ClearButton(components=components_to_clear, value="Clear")
|
| 744 |
|
| 745 |
# -------- Right: outputs --------
|