lugia19 / elevenlabslib

Full python wrapper for the elevenlabs API.
MIT License
148 stars 27 forks source link

Deployment with Docket doesn't work #18

Open ChenMorSays opened 1 year ago

ChenMorSays commented 1 year ago

This lib uses sounddevice and it wouldn't work on the cloud FYI

lugia19 commented 1 year ago

Yeah, this was a conscious choice - I wanted maximum flexibility locally, so I figured it wouldn't work in docker/etc.

IveDeletedYourPostAsItsADuplicate commented 1 year ago

Just wanted to correct this comment. Deployment with Docker does work (I've been running it in docker for the past couple of months with great results!)

Generating audio without playback features works fine. It's only when playback on device is used that this issue appears.

lugia19 commented 1 year ago

Interesting - do you have any more details on how it doesn't work when trying to select a playback device? Maybe an error log?

Also, try doing sounddevice.query_devices(). It should give you a list of every device, with corresponding IDs.