Closed charltonh closed 12 months ago
This seems to be a common problem on linux with the python playsound.py module. I was able to get around this by rewriting autogpt/speech/eleven_labs.py to this:
# playsound("speech.mpeg", True)
os.system('mpg123 -q speech.mpeg')
- It gave this error sh: 1: mpg123: not found
Do a pip install mpg123 or otherwise install it on your system.
My fault. Did following command
sudo apt-get install mpg123
It started working. Thanks
I am having the dreaded NoneType 'props' problem here as well, I found this thread after posting about it here: https://github.com/TaylorSMarks/playsound/issues/142
However I am not looking for alternative solutions just yet, is this not fixable in playsound itself? I have scripts already relying on it's function and it would be nice to have this working since many others use it as well
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.
This issue was closed automatically because it has been stale for 10 days with no activity.
Using the --speak flag breaks the script even with all the requirements. Not sure if this is a bug on linux or perhaps a simple python setup issue, but after some time I haven't been able to fix it. Anyone have any ideas? (note the "Response content: b'{"detail":"Not Found"}' " in the beginning too)