Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from openai import OpenAI
|
|
6 |
# Set an environment variable for key
|
7 |
os.environ['OPENAI_API_KEY'] = os.environ.get('OPENAI_API_KEY')
|
8 |
|
9 |
-
client = OpenAI() # add sk-
|
10 |
|
11 |
def tts(text, model, voice):
|
12 |
response = client.audio.speech.create(
|
|
|
6 |
# Set an environment variable for key
|
7 |
os.environ['OPENAI_API_KEY'] = os.environ.get('OPENAI_API_KEY')
|
8 |
|
9 |
+
client = OpenAI() # add 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
|
10 |
|
11 |
def tts(text, model, voice):
|
12 |
response = client.audio.speech.create(
|