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

Suggestion: Dockerfile with uv. #4052

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

JonghoKim-Harry
Copy link

I couldn't build docker image using your Dockerfile.
So I decided to fix it and suggest using uv.

I suggest use of uv in Dockerfile, because:

  • uv can handle Python version. (pip, poetry can not.). This project's dependencies requires different Python versions and you are using Python 3.9.
  • uv obeys PEP621, standard of pyproject.toml (poetry does not).

You can test with:

docker build . -t coqui
mkdir output
docker run -it -v ./output:/app/output coqui --text "Text for TTS" --out_path output/speech.wav

  docker build . -t coqui
  mkdir output
  docker run -it -v ./output:/app/output coqui --text "Text for TTS" --out_path output/speech.wav
@CLAassistant
Copy link

CLAassistant commented Nov 16, 2024

CLA assistant check
All committers have signed the CLA.

@eginhard
Copy link
Contributor

This repo is not maintained anymore. You can try our fork instead (also available with pip install coqui-tts). I've already switched the build there over to pyproject.toml and uv and also simplified the dependencies a lot. PRs are welcome there if you still encounter any issues.

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.

3 participants