|
|
@ -71,7 +71,7 @@ class StreamlabsPolly(BaseApiTTS):
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
results = requests.get(response.json()["speak_url"])
|
|
|
|
results = requests.get(response.json()["speak_url"])
|
|
|
|
return results
|
|
|
|
return results.content
|
|
|
|
except (KeyError, JSONDecodeError):
|
|
|
|
except (KeyError, JSONDecodeError):
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
if response.json()["error"] == "No text specified!":
|
|
|
|
if response.json()["error"] == "No text specified!":
|
|
|
|