hersia commited on
Commit
ef7482f
·
1 Parent(s): 0deb54e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import openai
4
  from gtts import gTTS # Google Text To Speech
5
 
6
  # load the api key
7
- openai.api_key = "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"
8
 
9
  # takes an audio file from the microphone
10
  # submits the raw audio to OpenAI for
 
4
  from gtts import gTTS # Google Text To Speech
5
 
6
  # load the api key
7
+ openai.api_key = os.environ["OPEN_AI_KEY"]
8
 
9
  # takes an audio file from the microphone
10
  # submits the raw audio to OpenAI for