Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
|
6 |
load_dotenv()
|
7 |
|
8 |
-
client = OpenAI(api_key=os.environ
|
9 |
|
10 |
def play_tts(x: gr.LikeData):
|
11 |
response = client.audio.speech.create(
|
|
|
5 |
|
6 |
load_dotenv()
|
7 |
|
8 |
+
client = OpenAI(api_key=os.environ["API_KEY"])
|
9 |
|
10 |
def play_tts(x: gr.LikeData):
|
11 |
response = client.audio.speech.create(
|