Ilayda-j commited on
Commit
2fa7e82
1 Parent(s): 41a41ff

Update self-learning-quiz.py

Browse files
Files changed (1) hide show
  1. self-learning-quiz.py +2 -4
self-learning-quiz.py CHANGED
@@ -29,11 +29,9 @@ def interactive_quiz(user_response=None, continue_quiz='yes', question_index=0):
29
 
30
  return "\n".join(output_messages), question_index
31
 
32
- iface = gr.Interface(
33
  fn=interactive_quiz,
34
  inputs=["text", "text", "number"],
35
  outputs=["text", "number"],
36
  live=True
37
- )
38
-
39
- iface.launch()
 
29
 
30
  return "\n".join(output_messages), question_index
31
 
32
+ gr.Interface(
33
  fn=interactive_quiz,
34
  inputs=["text", "text", "number"],
35
  outputs=["text", "number"],
36
  live=True
37
+ ).launch()