cbh123/narrator

TypeError: str expected, not NoneType

CloudPixle opened this issue · 3 comments

When I run Narrate.py I get the following:

Traceback (most recent call last):
File "/Users/ahmed/Desktop/Dev/narrate/narrator/narrator.py", line 12, in
set_api_key(os.environ.get("ELEVENLABS_API_KEY"))
File "/Users/ahmed/Desktop/Dev/narrate/venv/lib/python3.10/site-packages/elevenlabs/simple.py", line 17, in set_api_key
os.environ["ELEVEN_API_KEY"] = api_key
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/os.py", line 684, in setitem
value = self.encodevalue(value)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/os.py", line 756, in encode
raise TypeError("str expected, not %s" % type(value).name)
TypeError: str expected, not NoneType

UPD'.YAEQGBGYE3.'ATE

YAEQGBGYE3