Need to replace ElevenLabs with Edge-TTS #160
-
I have a function that used ElevenLabs API which worked fine. However, it incurred a lot of cost even during prototyping. So I thought it would be best to go for Edge-TTS. I have completed the conversation but now sure if this is a correct implmentation. Here's the ElevenLabs API code:
And here's the Edge-TTS code:
Can someone please tell me whether it needs any further changes. TIA. |
Beta Was this translation helpful? Give feedback.
Answered by
rany2
Nov 25, 2023
Replies: 1 comment 5 replies
-
I am getting an error message:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Return audio_segment inside the try scope. It will still execute the finally: