siddhantuniyal commited on
Commit
5f67612
1 Parent(s): 22dd626

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ PLEASE PLEASE PLEASE GIVE ME A JSON OUTPUT of this format:
16
  [{questionText, questionOptions[](array of 4 strings), questionAnswerIndex}]"""
17
 
18
  output = chat.send_message(input)
19
- return output.text
20
 
21
  iface = gr.Interface(
22
  fn= generate_quiz,
 
16
  [{questionText, questionOptions[](array of 4 strings), questionAnswerIndex}]"""
17
 
18
  output = chat.send_message(input)
19
+ return output.text[8:-3]
20
 
21
  iface = gr.Interface(
22
  fn= generate_quiz,