mohammed3536 commited on
Commit
ca76b6f
1 Parent(s): 92d67dd

Update app.py

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