Spaces:
Runtime error
Runtime error
siddhantuniyal
commited on
Update app.py
Browse files
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,
|