Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]: dockerized piper #93

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

allen-n
Copy link

@allen-n allen-n commented Nov 14, 2024

Adds a docker-compose config that simplifies using piper locally - though it does require the piper voice to be set in the docker compose yml, rather than as a command line argument.

Two usage modes exist: Passing the full set of command line args in the compose file (including the new piper_docker tts engine), or running the container in interactive mode and calling main.py from there. Both are detailed in the docker-compose.piper-example.yml.

The clear benefit here is easy-mode usage of piper, regardless of machine. All that's required is cloning the repo, configuring the docker compose depending on which of the two options above is better suited for your use case, and running docker compose up. Can confirm this works on an M1 Macbook Pro with no compatibility issues etc.

…semaphore based locking to limit local concurrency
…xample docker compose file

Remove unused import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant