Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ def check_answer(index, answer):
|
|
107 |
|
108 |
def update_question(index, audio_enabled):
|
109 |
"""Updates the displayed question when the index changes."""
|
110 |
-
return display_question_ui(index, audio_enabled)
|
111 |
|
112 |
|
113 |
def handle_answer(index, answer, audio_enabled, current_audio):
|
|
|
107 |
|
108 |
def update_question(index, audio_enabled):
|
109 |
"""Updates the displayed question when the index changes."""
|
110 |
+
return display_question_ui(index, audio_enabled) # Use display_question_ui for UI updates
|
111 |
|
112 |
|
113 |
def handle_answer(index, answer, audio_enabled, current_audio):
|