Skip to content

Commit a4ca02b

Browse files
authored
Merge pull request #24 from idiap/coqui-refs
Update repository links, package names, release script
2 parents 018daa0 + 00f8d47 commit a4ca02b

21 files changed

+90
-95
lines changed

.github/workflows/pypi-release.yml

+17-24
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build-sdist:
1111
runs-on: ubuntu-20.04
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- name: Verify tag matches version
1515
run: |
1616
set -ex
@@ -19,7 +19,7 @@ jobs:
1919
if [[ "v$version" != "$tag" ]]; then
2020
exit 1
2121
fi
22-
- uses: actions/setup-python@v2
22+
- uses: actions/setup-python@v5
2323
with:
2424
python-version: 3.9
2525
- run: |
@@ -28,7 +28,7 @@ jobs:
2828
python -m build
2929
- run: |
3030
pip install dist/*.tar.gz
31-
- uses: actions/upload-artifact@v2
31+
- uses: actions/upload-artifact@v4
3232
with:
3333
name: sdist
3434
path: dist/*.tar.gz
@@ -38,8 +38,8 @@ jobs:
3838
matrix:
3939
python-version: ["3.9", "3.10", "3.11"]
4040
steps:
41-
- uses: actions/checkout@v3
42-
- uses: actions/setup-python@v2
41+
- uses: actions/checkout@v4
42+
- uses: actions/setup-python@v5
4343
with:
4444
python-version: ${{ matrix.python-version }}
4545
- name: Install pip requirements
@@ -50,45 +50,38 @@ jobs:
5050
run: |
5151
python setup.py bdist_wheel --plat-name=manylinux1_x86_64
5252
python -m pip install dist/*-manylinux*.whl
53-
- uses: actions/upload-artifact@v2
53+
- uses: actions/upload-artifact@v4
5454
with:
5555
name: wheel-${{ matrix.python-version }}
5656
path: dist/*-manylinux*.whl
5757
publish-artifacts:
5858
runs-on: ubuntu-20.04
5959
needs: [build-sdist, build-wheels]
60+
environment:
61+
name: release
62+
url: https://pypi.org/p/coqui-tts
63+
permissions:
64+
id-token: write
6065
steps:
6166
- run: |
6267
mkdir dist
63-
- uses: actions/download-artifact@v2
68+
- uses: actions/download-artifact@v4
6469
with:
6570
name: "sdist"
6671
path: "dist/"
67-
- uses: actions/download-artifact@v2
72+
- uses: actions/download-artifact@v4
6873
with:
6974
name: "wheel-3.9"
7075
path: "dist/"
71-
- uses: actions/download-artifact@v2
76+
- uses: actions/download-artifact@v4
7277
with:
7378
name: "wheel-3.10"
7479
path: "dist/"
75-
- uses: actions/download-artifact@v2
80+
- uses: actions/download-artifact@v4
7681
with:
7782
name: "wheel-3.11"
7883
path: "dist/"
7984
- run: |
8085
ls -lh dist/
81-
- name: Setup PyPI config
82-
run: |
83-
cat << EOF > ~/.pypirc
84-
[pypi]
85-
username=__token__
86-
password=${{ secrets.PYPI_TOKEN }}
87-
EOF
88-
- uses: actions/setup-python@v2
89-
with:
90-
python-version: 3.9
91-
- run: |
92-
python -m pip install twine
93-
- run: |
94-
twine upload --repository pypi dist/*
86+
- name: Publish package distributions to PyPI
87+
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ jobs:
3838
sudo apt-get install -y --no-install-recommends git make gcc
3939
make system-deps
4040
- name: Install/upgrade Python setup deps
41-
run: python3 -m pip install --upgrade pip setuptools wheel uv
41+
run: python3 -m pip install --upgrade pip setuptools wheel
4242
- name: Replace scarf urls
4343
if: contains(fromJSON('["data_tests", "inference_tests", "test_aux", "test_tts", "test_tts2", "test_xtts", "test_zoo0", "test_zoo1", "test_zoo2"]'), matrix.subset)
4444
run: |
4545
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
4646
- name: Install TTS
4747
run: |
48-
python3 -m uv pip install --system "TTS[all] @ ."
48+
python3 -m pip install .[all]
4949
python3 setup.py egg_info
5050
- name: Unit tests
5151
run: make ${{ matrix.subset }}

CITATION.cff

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ authors:
1010
version: 1.4
1111
doi: 10.5281/zenodo.6334862
1212
license: "MPL-2.0"
13-
url: "https://www.coqui.ai"
14-
repository-code: "https://github.com/coqui-ai/TTS"
13+
url: "https://github.com/eginhard/coqui-tts"
14+
repository-code: "https://github.com/eginhard/coqui-tts"
1515
keywords:
1616
- machine learning
1717
- deep learning

CONTRIBUTING.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Welcome to the 🐸TTS!
44

5-
This repository is governed by [the Contributor Covenant Code of Conduct](https://github.com/coqui-ai/TTS/blob/main/CODE_OF_CONDUCT.md).
5+
This repository is governed by [the Contributor Covenant Code of Conduct](https://github.com/eginhard/coqui-tts/blob/main/CODE_OF_CONDUCT.md).
66

77
## Where to start.
88
We welcome everyone who likes to contribute to 🐸TTS.
@@ -15,13 +15,13 @@ If you like to contribute code, squash a bug but if you don't know where to star
1515

1616
You can pick something out of our road map. We keep the progess of the project in this simple issue thread. It has new model proposals or developmental updates etc.
1717

18-
- [Github Issues Tracker](https://github.com/coqui-ai/TTS/issues)
18+
- [Github Issues Tracker](https://github.com/eginhard/coqui-tts/issues)
1919

2020
This is a place to find feature requests, bugs.
2121

2222
Issues with the ```good first issue``` tag are good place for beginners to take on.
2323

24-
-**PR**[pages](https://github.com/coqui-ai/TTS/pulls) with the ```🚀new version``` tag.
24+
-**PR**[pages](https://github.com/eginhard/coqui-tts/pulls) with the ```🚀new version``` tag.
2525

2626
We list all the target improvements for the next version. You can pick one of them and start contributing.
2727

@@ -46,14 +46,14 @@ Let us know if you encounter a problem along the way.
4646

4747
The following steps are tested on an Ubuntu system.
4848

49-
1. Fork 🐸TTS[https://github.com/coqui-ai/TTS] by clicking the fork button at the top right corner of the project page.
49+
1. Fork 🐸TTS[https://github.com/eginhard/coqui-tts] by clicking the fork button at the top right corner of the project page.
5050

5151
2. Clone 🐸TTS and add the main repo as a new remote named ```upstream```.
5252

5353
```bash
54-
$ git clone git@github.com:<your Github name>/TTS.git
55-
$ cd TTS
56-
$ git remote add upstream https://github.com/coqui-ai/TTS.git
54+
$ git clone git@github.com:<your Github name>/coqui-tts.git
55+
$ cd coqui-tts
56+
$ git remote add upstream https://github.com/eginhard/coqui-tts.git
5757
```
5858

5959
3. Install 🐸TTS for development.
@@ -105,7 +105,7 @@ The following steps are tested on an Ubuntu system.
105105
106106
```bash
107107
$ git fetch upstream
108-
$ git rebase upstream/master
108+
$ git rebase upstream/main
109109
# or for the development version
110110
$ git rebase upstream/dev
111111
```
@@ -124,22 +124,22 @@ The following steps are tested on an Ubuntu system.
124124
125125
13. Let's discuss until it is perfect. 💪
126126

127-
We might ask you for certain changes that would appear in the ✨**PR**'s page under 🐸TTS[https://github.com/coqui-ai/TTS/pulls].
127+
We might ask you for certain changes that would appear in the ✨**PR**'s page under 🐸TTS[https://github.com/eginhard/coqui-tts/pulls].
128128
129129
14. Once things look perfect, We merge it to the ```dev``` branch and make it ready for the next version.
130130
131131
## Development in Docker container
132132
133133
If you prefer working within a Docker container as your development environment, you can do the following:
134134
135-
1. Fork 🐸TTS[https://github.com/coqui-ai/TTS] by clicking the fork button at the top right corner of the project page.
135+
1. Fork 🐸TTS[https://github.com/eginhard/coqui-tts] by clicking the fork button at the top right corner of the project page.
136136
137137
2. Clone 🐸TTS and add the main repo as a new remote named ```upsteam```.
138138
139139
```bash
140-
$ git clone git@github.com:<your Github name>/TTS.git
141-
$ cd TTS
142-
$ git remote add upstream https://github.com/coqui-ai/TTS.git
140+
$ git clone git@github.com:<your Github name>/coqui-tts.git
141+
$ cd coqui-tts
142+
$ git remote add upstream https://github.com/eginhard/coqui-tts.git
143143
```
144144
145145
3. Build the Docker Image as your development environment (it installs all of the dependencies for you):

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ______________________________________________________________________
2626
[![Discord](https://img.shields.io/discord/1037326658807533628?color=%239B59B6&label=chat%20on%20discord)](https://discord.gg/5eXr5seRrv)
2727
[![License](<https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg>)](https://opensource.org/licenses/MPL-2.0)
2828
[![PyPI version](https://badge.fury.io/py/TTS.svg)](https://badge.fury.io/py/TTS)
29-
[![Covenant](https://camo.githubusercontent.com/7d620efaa3eac1c5b060ece5d6aacfcc8b81a74a04d05cd0398689c01c4463bb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6e7472696275746f72253230436f76656e616e742d76322e3025323061646f707465642d6666363962342e737667)](https://github.com/eginhard/coqui-tts/blob/master/CODE_OF_CONDUCT.md)
29+
[![Covenant](https://camo.githubusercontent.com/7d620efaa3eac1c5b060ece5d6aacfcc8b81a74a04d05cd0398689c01c4463bb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6e7472696275746f72253230436f76656e616e742d76322e3025323061646f707465642d6666363962342e737667)](https://github.com/eginhard/coqui-tts/blob/main/CODE_OF_CONDUCT.md)
3030
[![Downloads](https://pepy.tech/badge/tts)](https://pepy.tech/project/tts)
3131
[![DOI](https://zenodo.org/badge/265612440.svg)](https://zenodo.org/badge/latestdoi/265612440)
3232

@@ -62,7 +62,7 @@ Please use our dedicated channels for questions and discussion. Help is much mor
6262
| 💾 **Installation** | [TTS/README.md](https://github.com/eginhard/coqui-tts/tree/dev#installation)|
6363
| 👩‍💻 **Contributing** | [CONTRIBUTING.md](https://github.com/eginhard/coqui-tts/blob/main/CONTRIBUTING.md)|
6464
| 📌 **Road Map** | [Main Development Plans](https://github.com/coqui-ai/TTS/issues/378)
65-
| 🚀 **Released Models** | [TTS Releases](https://github.com/coqui-ai/TTS/releases) and [Experimental Models](https://github.com/coqui-ai/TTS/wiki/Experimental-Released-Models)|
65+
| 🚀 **Released Models** | [Standard models](https://github.com/eginhard/coqui-tts/blob/dev/TTS/.models.json) and [Fairseq models in ~1100 languages](https://github.com/eginhard/coqui-tts#example-text-to-speech-using-fairseq-models-in-1100-languages-)|
6666
| 📰 **Papers** | [TTS Papers](https://github.com/erogol/TTS-papers)|
6767

6868
## Features
@@ -135,7 +135,7 @@ You can also help us implement more models.
135135
If you are only interested in [synthesizing speech](https://coqui-tts.readthedocs.io/en/latest/inference.html) with the released 🐸TTS models, installing from PyPI is the easiest option.
136136

137137
```bash
138-
pip install TTS
138+
pip install coqui-tts
139139
```
140140

141141
If you plan to code or train models, clone 🐸TTS and install it locally.
@@ -152,7 +152,9 @@ $ make system-deps # intended to be used on Ubuntu (Debian). Let us know if you
152152
$ make install
153153
```
154154

155-
If you are on Windows, 👑@GuyPaddock wrote installation instructions [here](https://stackoverflow.com/questions/66726331/how-can-i-run-mozilla-tts-coqui-tts-training-with-cuda-on-a-windows-system).
155+
If you are on Windows, 👑@GuyPaddock wrote installation instructions
156+
[here](https://stackoverflow.com/questions/66726331/how-can-i-run-mozilla-tts-coqui-tts-training-with-cuda-on-a-windows-system)
157+
(note that these are out of date, e.g. you need to have at least Python 3.9).
156158

157159

158160
## Docker Image

TTS/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.22.0
1+
0.22.1

TTS/server/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# :frog: TTS demo server
22
Before you use the server, make sure you
3-
[install](https://github.com/coqui-ai/TTS/tree/dev#install-tts)) :frog: TTS
3+
[install](https://github.com/eginhard/coqui-tts/tree/dev#install-tts)) :frog: TTS
44
properly and install the additional dependencies with `pip install
5-
TTS[server]`. Then, you can follow the steps below.
5+
coqui-tts[server]`. Then, you can follow the steps below.
66

77
**Note:** If you install :frog:TTS using ```pip```, you can also use the ```tts-server``` end point on the terminal.
88

TTS/server/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
try:
1313
from flask import Flask, render_template, render_template_string, request, send_file
1414
except ImportError as e:
15-
raise ImportError("Server requires requires flask, use `pip install TTS[server]`.") from e
15+
raise ImportError("Server requires requires flask, use `pip install coqui-tts[server]`.") from e
1616

1717
from TTS.config import load_config
1818
from TTS.utils.manage import ModelManager

TTS/server/templates/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</head>
3131

3232
<body>
33-
<a href="https://github.com/coqui-ai/TTS"><img style="position: absolute; z-index:1000; top: 0; left: 0; border: 0;"
33+
<a href="https://github.com/eginhard/coqui-tts"><img style="position: absolute; z-index:1000; top: 0; left: 0; border: 0;"
3434
src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" alt="Fork me on GitHub"></a>
3535

3636
<!-- Navigation -->
@@ -151,4 +151,4 @@
151151

152152
</body>
153153

154-
</html>
154+
</html>

TTS/tts/models/xtts.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -695,12 +695,12 @@ def inference_stream(
695695

696696
def forward(self):
697697
raise NotImplementedError(
698-
"XTTS has a dedicated trainer, please check the XTTS docs: https://tts.readthedocs.io/en/dev/models/xtts.html#training"
698+
"XTTS has a dedicated trainer, please check the XTTS docs: https://coqui-tts.readthedocs.io/en/dev/models/xtts.html#training"
699699
)
700700

701701
def eval_step(self):
702702
raise NotImplementedError(
703-
"XTTS has a dedicated trainer, please check the XTTS docs: https://tts.readthedocs.io/en/dev/models/xtts.html#training"
703+
"XTTS has a dedicated trainer, please check the XTTS docs: https://coqui-tts.readthedocs.io/en/dev/models/xtts.html#training"
704704
)
705705

706706
@staticmethod
@@ -789,5 +789,5 @@ def load_checkpoint(
789789

790790
def train_step(self):
791791
raise NotImplementedError(
792-
"XTTS has a dedicated trainer, please check the XTTS docs: https://tts.readthedocs.io/en/dev/models/xtts.html#training"
792+
"XTTS has a dedicated trainer, please check the XTTS docs: https://coqui-tts.readthedocs.io/en/dev/models/xtts.html#training"
793793
)

TTS/tts/utils/text/phonemizers/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def get_phonemizer_by_name(name: str, **kwargs) -> BasePhonemizer:
6363
return ZH_CN_Phonemizer(**kwargs)
6464
if name == "ja_jp_phonemizer":
6565
if JA_JP_Phonemizer is None:
66-
raise ValueError(" ❗ You need to install JA phonemizer dependencies. Try `pip install TTS[ja]`.")
66+
raise ValueError(" ❗ You need to install JA phonemizer dependencies. Try `pip install coqui-tts[ja]`.")
6767
return JA_JP_Phonemizer(**kwargs)
6868
if name == "ko_kr_phonemizer":
6969
return KO_KR_Phonemizer(**kwargs)

docs/source/faq.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ We tried to collect common issues and questions we receive about 🐸TTS. It is
33

44
## Errors with a pre-trained model. How can I resolve this?
55
- Make sure you use the right commit version of 🐸TTS. Each pre-trained model has its corresponding version that needs to be used. It is defined on the model table.
6-
- If it is still problematic, post your problem on [Discussions](https://github.com/coqui-ai/TTS/discussions). Please give as many details as possible (error message, your TTS version, your TTS model and config.json etc.)
6+
- If it is still problematic, post your problem on [Discussions](https://github.com/eginhard/coqui-tts/discussions). Please give as many details as possible (error message, your TTS version, your TTS model and config.json etc.)
77
- If you feel like it's a bug to be fixed, then prefer Github issues with the same level of scrutiny.
88

99
## What are the requirements of a good 🐸TTS dataset?
@@ -16,7 +16,7 @@ We tried to collect common issues and questions we receive about 🐸TTS. It is
1616
- If you need faster models, consider SpeedySpeech, GlowTTS or AlignTTS. Keep in mind that SpeedySpeech requires a pre-trained Tacotron or Tacotron2 model to compute text-to-speech alignments.
1717

1818
## How can I train my own `tts` model?
19-
0. Check your dataset with notebooks in [dataset_analysis](https://github.com/coqui-ai/TTS/tree/master/notebooks/dataset_analysis) folder. Use [this notebook](https://github.com/coqui-ai/TTS/blob/master/notebooks/dataset_analysis/CheckSpectrograms.ipynb) to find the right audio processing parameters. A better set of parameters results in a better audio synthesis.
19+
0. Check your dataset with notebooks in [dataset_analysis](https://github.com/eginhard/coqui-tts/tree/main/notebooks/dataset_analysis) folder. Use [this notebook](https://github.com/eginhard/coqui-tts/blob/main/notebooks/dataset_analysis/CheckSpectrograms.ipynb) to find the right audio processing parameters. A better set of parameters results in a better audio synthesis.
2020

2121
1. Write your own dataset `formatter` in `datasets/formatters.py` or format your dataset as one of the supported datasets, like LJSpeech.
2222
A `formatter` parses the metadata file and converts a list of training samples.

docs/source/inference.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
First, you need to install TTS. We recommend using PyPi. You need to call the command below:
55

66
```bash
7-
$ pip install TTS
7+
$ pip install coqui-tts
88
```
99

1010
After the installation, 2 terminal commands are available.
@@ -14,7 +14,7 @@ After the installation, 2 terminal commands are available.
1414
3. In 🐍Python. - `from TTS.api import TTS`
1515

1616
## On the Commandline - `tts`
17-
![cli.gif](https://github.com/coqui-ai/TTS/raw/main/images/tts_cli.gif)
17+
![cli.gif](https://github.com/eginhard/coqui-tts/raw/main/images/tts_cli.gif)
1818

1919
After the installation, 🐸TTS provides a CLI interface for synthesizing speech using pre-trained models. You can either use your own model or the release models under 🐸TTS.
2020

@@ -81,11 +81,11 @@ tts --model_name "voice_conversion/<language>/<dataset>/<model_name>"
8181

8282
## On the Demo Server - `tts-server`
8383

84-
<!-- <img src="https://raw.githubusercontent.com/coqui-ai/TTS/main/images/demo_server.gif" height="56"/> -->
85-
![server.gif](https://github.com/coqui-ai/TTS/raw/main/images/demo_server.gif)
84+
<!-- <img src="https://raw.githubusercontent.com/eginhard/coqui-tts/main/images/demo_server.gif" height="56"/> -->
85+
![server.gif](https://github.com/eginhard/coqui-tts/raw/main/images/demo_server.gif)
8686

8787
You can boot up a demo 🐸TTS server to run an inference with your models (make
88-
sure to install the additional dependencies with `pip install TTS[server]`).
88+
sure to install the additional dependencies with `pip install coqui-tts[server]`).
8989
Note that the server is not optimized for performance but gives you an easy way
9090
to interact with the models.
9191

0 commit comments

Comments
 (0)