burtenshaw HF staff commited on
Commit
5b81636
Β·
verified Β·
1 Parent(s): 5a2f9e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -163,7 +163,7 @@ def handle_quiz(question_idx, user_answers, selected_answer, is_start):
163
  return [
164
  "", # question_text
165
  gr.update(choices=[], visible=False), # hide radio choices
166
- f"{'βœ… Passed! Click now on Submit to save your exam Score.' if grade >= float(EXAM_PASSING_SCORE) else '❌ Did not pass'}",
167
  question_idx,
168
  user_answers,
169
  gr.update(visible=False), # start button visibility
 
163
  return [
164
  "", # question_text
165
  gr.update(choices=[], visible=False), # hide radio choices
166
+ f"{'πŸŽ‰ Passed! Click now on βœ… Submit to save your exam score!' if grade >= float(EXAM_PASSING_SCORE) else '❌ Did not pass'}",
167
  question_idx,
168
  user_answers,
169
  gr.update(visible=False), # start button visibility