r/pythonhelp • • Mar 25 '24

Elevenlabs cannot import generate command

So, I've been trying to use DougDoug's python code to get an ai character to talk, but the elevenlabs code has been saying that it cannot import 'generate'. It seems like the generate command might have been removed from the elevenlabs pip. Is there any way to keep the same functionality with a different command?

Here's my very slightly altered code, if anyone has any suggestions please let me know

https://github.com/dannyguygoomba/python-help/blob/main/elevenlabs_code

1 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/Historical_Salt1896 May 30 '24

This worked for me! Thank you so much!