groshanr commited on
Commit
0fcf80d
1 Parent(s): 012276f

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -76,10 +76,10 @@ def onSubmit(radio, scorebox):
76
  updateScore(radio)
77
  input_column = gr.Column(visible=False)
78
  output_column = gr.Column(visible=True)
79
- results = f"{minPairGroup} {answer} is correct. Good job!" if radio==answer else f"{minPairGroup} Incorrect. The correct answer was {answer}."
80
  scorebox = gr.Markdown(f"# Score: {score}")
81
 
82
- return scorebox, output_column, results, input_column
83
 
84
  # the interface
85
  with gr.Blocks() as demo:
 
76
  updateScore(radio)
77
  input_column = gr.Column(visible=False)
78
  output_column = gr.Column(visible=True)
79
+ results = f"{answer} is correct. Good job!" if radio==answer else f"Incorrect. The correct answer was {answer}."
80
  scorebox = gr.Markdown(f"# Score: {score}")
81
 
82
+ return scorebox, radio, output_column, results, input_column
83
 
84
  # the interface
85
  with gr.Blocks() as demo: