englissi commited on
Commit
69081d6
·
verified ·
1 Parent(s): 08d7994

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)