nanostuff commited on
Commit
549a3e5
·
1 Parent(s): ff55bd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,10 +3,10 @@ import openai
3
  import os
4
  from gtts import gTTS
5
 
6
- openai.api_key = ""
7
 
8
  all_messages = [] # List to store all conversation messages
9
- # all_messages = [{"role": "system", "content": 'You are a ai chatbot.Respond to all input in 25 words or less'}]
10
 
11
  open("output_audio.mp3", "wb").close()
12
 
 
3
  import os
4
  from gtts import gTTS
5
 
6
+ openai.api_key = os.getenv('OPEN_API_KEY')
7
 
8
  all_messages = [] # List to store all conversation messages
9
+ # all_messages = [{"role": "system", "content": 'You are an ai chatbot.Respond to all input in 25 words or less'}]
10
 
11
  open("output_audio.mp3", "wb").close()
12