Spaces:
Runtime error
Runtime error
Commit
·
eb663db
1
Parent(s):
e1490d2
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,8 @@ from openai import Completion as complete
|
|
10 |
mcq_prompt = "Generate French MCQs on the above text. Each MCQ must have four choices. Generate ten questions with answers:"
|
11 |
|
12 |
openai.api_key = os.environ["openai_api_key"]
|
13 |
-
access_code = os.environ["access_code"]
|
|
|
14 |
|
15 |
def generate_questions(context, credentials, mcq_prompt=mcq_prompt):
|
16 |
"""
|
|
|
10 |
mcq_prompt = "Generate French MCQs on the above text. Each MCQ must have four choices. Generate ten questions with answers:"
|
11 |
|
12 |
openai.api_key = os.environ["openai_api_key"]
|
13 |
+
# access_code = os.environ["access_code"]
|
14 |
+
access_code = None
|
15 |
|
16 |
def generate_questions(context, credentials, mcq_prompt=mcq_prompt):
|
17 |
"""
|