Anmol2507 commited on
Commit
72ab9a4
·
verified ·
1 Parent(s): b1f4902

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -307,16 +307,16 @@ with gr.Blocks(
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
- )
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