Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -307,16 +307,16 @@ with gr.Blocks(
|
|
| 307 |
# Connect button
|
| 308 |
# --------------------------------------------------------
|
| 309 |
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
|
| 321 |
# ============================================================
|
| 322 |
# LAUNCH
|
|
|
|
| 307 |
# Connect button
|
| 308 |
# --------------------------------------------------------
|
| 309 |
|
| 310 |
+
judge_button.click(
|
| 311 |
+
fn=judge,
|
| 312 |
+
inputs=[
|
| 313 |
+
problem,
|
| 314 |
+
answer_a,
|
| 315 |
+
answer_b
|
| 316 |
+
],
|
| 317 |
+
outputs=result,
|
| 318 |
+
api_name="judge"
|
| 319 |
+
)
|
| 320 |
|
| 321 |
# ============================================================
|
| 322 |
# LAUNCH
|