Spaces:
Sleeping
Sleeping
Commit
•
7074354
1
Parent(s):
e98b248
Removed debug code
Browse files- api/audio.py +0 -1
api/audio.py
CHANGED
@@ -104,7 +104,6 @@ class TTSManager:
|
|
104 |
return response.content
|
105 |
|
106 |
def read_text_stream(self, text):
|
107 |
-
1 / 0
|
108 |
if self.config.tts.type not in ["OPENAI_API"]:
|
109 |
raise APIError("TTS Error: Streaming not supported for this TTS type")
|
110 |
headers = {"Authorization": "Bearer " + self.config.tts.key}
|
|
|
104 |
return response.content
|
105 |
|
106 |
def read_text_stream(self, text):
|
|
|
107 |
if self.config.tts.type not in ["OPENAI_API"]:
|
108 |
raise APIError("TTS Error: Streaming not supported for this TTS type")
|
109 |
headers = {"Authorization": "Bearer " + self.config.tts.key}
|