Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,6 @@ from io import BytesIO
|
|
7 |
from IPython.display import Audio
|
8 |
|
9 |
# Set up OpenAI API key
|
10 |
-
openai.api_key = "sk-pZv0gFbHlaKc5o3ejPgYT3BlbkFJ7DPw0d1FqJApeZTBjIqic" # Replace with your actual API key
|
11 |
|
12 |
# Set the context for the storyteller
|
13 |
messages = [{"role": "system", "content": "You are a magical storyteller, creating wonderful tales for kids. Make them imaginative and full of joy!"}]
|
|
|
7 |
from IPython.display import Audio
|
8 |
|
9 |
# Set up OpenAI API key
|
|
|
10 |
|
11 |
# Set the context for the storyteller
|
12 |
messages = [{"role": "system", "content": "You are a magical storyteller, creating wonderful tales for kids. Make them imaginative and full of joy!"}]
|