tragic
Browse files
App/Generate/database/ElevenLab.py
CHANGED
|
@@ -757,6 +757,8 @@ class ElevenLab:
|
|
| 757 |
else:
|
| 758 |
url = f"{self.api_url}/{endpoint}"
|
| 759 |
async with getattr(session, method)(url=url, json=json) as response:
|
|
|
|
|
|
|
| 760 |
return await response.json()
|
| 761 |
|
| 762 |
async def say(self, text, speaker="Adam"):
|
|
|
|
| 757 |
else:
|
| 758 |
url = f"{self.api_url}/{endpoint}"
|
| 759 |
async with getattr(session, method)(url=url, json=json) as response:
|
| 760 |
+
temp=await response.text()
|
| 761 |
+
print(temp)
|
| 762 |
return await response.json()
|
| 763 |
|
| 764 |
async def say(self, text, speaker="Adam"):
|