narrator
narrator copied to clipboard
AssertionError
My apologies if this is a silly problem with an easy fix, but I promise I have googled it and could not fix it. The capture.py runs smoothly for me, but the narrator.py throws the following error; and it does not depend on the Eleven Labs audio id that I use.
I'd really appreciate any help you'd be able to offer :)
File "\narrator-main\narrator.py", line 114, in
File "\narrator-main\narrator.py", line 105, in main play_audio(analysis)
File "\narrator-main\narrator.py", line 40, in play_audio audio = generate(text, voice=os.environ.get("7Wqa3tuynJ4uUcRnTwAI"))
File "\anaconda3\lib\site-packages\elevenlabs\simple.py", line 61, in generate assert isinstance(voice, Voice)
AssertionError