mindw96 commited on
Commit
91241b1
·
1 Parent(s): fb10b53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
 
6
  load_dotenv()
7
 
8
- client = OpenAI(api_key=os.environ.getattribute("API_KEY"))
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(