Spaces:
Runtime error
Runtime error
Commit ·
a39de4a
1
Parent(s): cb626ac
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from openai import Completion as complete
|
|
| 9 |
|
| 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 |
|
| 14 |
def generate_questions(context, mcq_prompt=mcq_prompt):
|
| 15 |
"""
|
|
|
|
| 9 |
|
| 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 |
|
| 14 |
def generate_questions(context, mcq_prompt=mcq_prompt):
|
| 15 |
"""
|