Chris4K commited on
Commit
2d517aa
·
verified ·
1 Parent(s): bab0170

Update api/audio.py

Browse files
Files changed (1) hide show
  1. api/audio.py +1 -1
api/audio.py CHANGED
@@ -304,7 +304,7 @@ class TTSManager:
304
 
305
  stream = self.streaming if stream is None else stream
306
 
307
- kex =os.get('TTS_KEY')
308
  headers = {"Authorization": f"Bearer {kex}"}
309
  data = {"model": self.config.tts.name, "input": text, "voice": "alloy", "response_format": "opus"}
310
 
 
304
 
305
  stream = self.streaming if stream is None else stream
306
 
307
+ kex =os.getenv('TTS_KEY')
308
  headers = {"Authorization": f"Bearer {kex}"}
309
  data = {"model": self.config.tts.name, "input": text, "voice": "alloy", "response_format": "opus"}
310