Update app.py
Browse files
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"{'
|
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
|