mohammed3536 commited on
Commit
6bc36cf
·
verified ·
1 Parent(s): c77e2ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def generate_mcqs_on_topic(text, topic, num_mcqs=5):
36
 
37
  return mcqs
38
 
39
- def generate_question_with_chatgpt():
40
  headers = {
41
  "Content-Type": "application/json",
42
  "Authorization": f"Bearer {OPENAI_API_KEY}",
 
36
 
37
  return mcqs
38
 
39
+ def generate_question_with_chatgpt(context):
40
  headers = {
41
  "Content-Type": "application/json",
42
  "Authorization": f"Bearer {OPENAI_API_KEY}",