Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def generate_mcqs_on_topic(text, topic, num_mcqs=5):
|
|
33 |
# Use ChatGPT for interactive question generation
|
34 |
chatgpt_question = generate_question_with_chatgpt(sentence, topic)
|
35 |
mcqs.append(chatgpt_question)
|
36 |
-
|
37 |
return mcqs
|
38 |
|
39 |
def extract_options_and_correct_answer(api_response):
|
|
|
33 |
# Use ChatGPT for interactive question generation
|
34 |
chatgpt_question = generate_question_with_chatgpt(sentence, topic)
|
35 |
mcqs.append(chatgpt_question)
|
36 |
+
print(mcqs)
|
37 |
return mcqs
|
38 |
|
39 |
def extract_options_and_correct_answer(api_response):
|