Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ def cloze_quiz(state, answer):
|
|
106 |
|
107 |
if question_index < len(cloze_questions):
|
108 |
next_question_audio = cloze_questions[question_index]["audio"]
|
109 |
-
next_hint = f"Hint: {cloze_questions[question_index]['hint']}
|
110 |
return (name, question_index, score, results), next_question_audio, next_hint, gr.update(visible=False), gr.update(value="", interactive=True, visible=True)
|
111 |
else:
|
112 |
result_text = f"* Name: {name}\n* Score: {score} out of {len(cloze_questions)}\n" + "\n".join(results)
|
|
|
106 |
|
107 |
if question_index < len(cloze_questions):
|
108 |
next_question_audio = cloze_questions[question_index]["audio"]
|
109 |
+
next_hint = f"Hint: {cloze_questions[question_index]['hint']} ◁◁◁ Check out this verb!"
|
110 |
return (name, question_index, score, results), next_question_audio, next_hint, gr.update(visible=False), gr.update(value="", interactive=True, visible=True)
|
111 |
else:
|
112 |
result_text = f"* Name: {name}\n* Score: {score} out of {len(cloze_questions)}\n" + "\n".join(results)
|