theodotus commited on
Commit
c37fa3d
·
1 Parent(s): 4bf038a

Added image show

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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
- return question_state, question, radio, "Click 'Answer' to submit"
 
 
 
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