Spaces:
Sleeping
Sleeping
Added image show
Browse files
app.py
CHANGED
|
@@ -33,7 +33,10 @@ def question_interface(question_state, answer):
|
|
| 33 |
answers = test.get_answers(current_question_index)
|
| 34 |
radio = gr.Radio.update(choices = answers)
|
| 35 |
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
|
| 39 |
|
|
|
|
| 33 |
answers = test.get_answers(current_question_index)
|
| 34 |
radio = gr.Radio.update(choices = answers)
|
| 35 |
|
| 36 |
+
image_description = test.get_description(current_question_index)
|
| 37 |
+
image_path = test.get_image_path(current_question_index)
|
| 38 |
+
|
| 39 |
+
return question_state, question, radio, image_description, image_path
|
| 40 |
|
| 41 |
|
| 42 |
|