artificialguybr commited on
Commit
45ee559
1 Parent(s): 36ec8f0

Upload 650 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. TTS/.cardboardlint.yml +5 -0
  2. TTS/.dockerignore +9 -0
  3. TTS/.github/ISSUE_TEMPLATE/bug_report.yaml +85 -0
  4. TTS/.github/ISSUE_TEMPLATE/config.yml +8 -0
  5. TTS/.github/ISSUE_TEMPLATE/feature_request.md +25 -0
  6. TTS/.github/PR_TEMPLATE.md +15 -0
  7. TTS/.github/stale.yml +18 -0
  8. TTS/.github/workflows/api_tests.yml +53 -0
  9. TTS/.github/workflows/aux_tests.yml +51 -0
  10. TTS/.github/workflows/data_tests.yml +51 -0
  11. TTS/.github/workflows/docker.yaml +65 -0
  12. TTS/.github/workflows/inference_tests.yml +53 -0
  13. TTS/.github/workflows/pypi-release.yml +94 -0
  14. TTS/.github/workflows/style_check.yml +47 -0
  15. TTS/.github/workflows/text_tests.yml +50 -0
  16. TTS/.github/workflows/tts_tests.yml +53 -0
  17. TTS/.github/workflows/tts_tests2.yml +53 -0
  18. TTS/.github/workflows/vocoder_tests.yml +48 -0
  19. TTS/.github/workflows/zoo_tests0.yml +54 -0
  20. TTS/.github/workflows/zoo_tests1.yml +53 -0
  21. TTS/.github/workflows/zoo_tests2.yml +52 -0
  22. TTS/.gitignore +171 -0
  23. TTS/.pre-commit-config.yaml +27 -0
  24. TTS/.pylintrc +599 -0
  25. TTS/.readthedocs.yml +23 -0
  26. TTS/CITATION.cff +20 -0
  27. TTS/CODE_OF_CONDUCT.md +133 -0
  28. TTS/CODE_OWNERS.rst +75 -0
  29. TTS/CONTRIBUTING.md +136 -0
  30. TTS/Dockerfile +13 -0
  31. TTS/LICENSE.txt +373 -0
  32. TTS/MANIFEST.in +15 -0
  33. TTS/Makefile +78 -0
  34. TTS/README.md +431 -0
  35. TTS/TTS/.models.json +920 -0
  36. TTS/TTS/VERSION +1 -0
  37. TTS/TTS/__init__.py +6 -0
  38. TTS/TTS/api.py +476 -0
  39. TTS/TTS/bin/__init__.py +0 -0
  40. TTS/TTS/bin/collect_env_info.py +48 -0
  41. TTS/TTS/bin/compute_attention_masks.py +165 -0
  42. TTS/TTS/bin/compute_embeddings.py +197 -0
  43. TTS/TTS/bin/compute_statistics.py +96 -0
  44. TTS/TTS/bin/eval_encoder.py +88 -0
  45. TTS/TTS/bin/extract_tts_spectrograms.py +286 -0
  46. TTS/TTS/bin/find_unique_chars.py +45 -0
  47. TTS/TTS/bin/find_unique_phonemes.py +74 -0
  48. TTS/TTS/bin/remove_silence_using_vad.py +124 -0
  49. TTS/TTS/bin/resample.py +90 -0
  50. TTS/TTS/bin/synthesize.py +502 -0
TTS/.cardboardlint.yml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ linters:
2
+ - pylint:
3
+ # pylintrc: pylintrc
4
+ filefilter: ['- test_*.py', '+ *.py', '- *.npy']
5
+ # exclude:
TTS/.dockerignore ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ .git/
2
+ Dockerfile
3
+ build/
4
+ dist/
5
+ TTS.egg-info/
6
+ tests/outputs/*
7
+ tests/train_outputs/*
8
+ __pycache__/
9
+ *.pyc
TTS/.github/ISSUE_TEMPLATE/bug_report.yaml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: "🐛 Bug report"
2
+ description: Create a bug report to help 🐸 improve
3
+ title: '[Bug] '
4
+ labels: [ "bug" ]
5
+ body:
6
+ - type: markdown
7
+ attributes:
8
+ value: |
9
+ Welcome to the 🐸TTS! Thanks for taking the time to fill out this bug report!
10
+
11
+ - type: textarea
12
+ id: bug-description
13
+ attributes:
14
+ label: Describe the bug
15
+ description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
16
+ placeholder: Bug description
17
+ validations:
18
+ required: true
19
+
20
+ - type: textarea
21
+ id: reproduction
22
+ attributes:
23
+ label: To Reproduce
24
+ description: |
25
+ Please share your code to reproduce the error.
26
+
27
+ Issues are fixed faster if you can provide a working example.
28
+
29
+ The best place for sharing code is colab. https://colab.research.google.com/
30
+ So we can directly run your code and reproduce the issue.
31
+
32
+ In the worse case, provide steps to reproduce the behavior.
33
+
34
+ 1. Run the following command '...'
35
+ 2. ...
36
+ 3. See error
37
+ placeholder: Reproduction
38
+ validations:
39
+ required: true
40
+
41
+ - type: textarea
42
+ id: expected-behavior
43
+ attributes:
44
+ label: Expected behavior
45
+ description: "Write down what the expected behaviour"
46
+
47
+ - type: textarea
48
+ id: logs
49
+ attributes:
50
+ label: Logs
51
+ description: "Please include the relevant logs if you can."
52
+ render: shell
53
+
54
+ - type: textarea
55
+ id: system-info
56
+ attributes:
57
+ label: Environment
58
+ description: |
59
+ You can either run `TTS/bin/collect_env_info.py`
60
+
61
+ ```bash
62
+ wget https://raw.githubusercontent.com/coqui-ai/TTS/main/TTS/bin/collect_env_info.py
63
+ python collect_env_info.py
64
+ ```
65
+
66
+ or fill in the fields below manually.
67
+ render: shell
68
+ placeholder: |
69
+ - 🐸TTS Version (e.g., 1.3.0):
70
+ - PyTorch Version (e.g., 1.8)
71
+ - Python version:
72
+ - OS (e.g., Linux):
73
+ - CUDA/cuDNN version:
74
+ - GPU models and configuration:
75
+ - How you installed PyTorch (`conda`, `pip`, source):
76
+ - Any other relevant information:
77
+ validations:
78
+ required: true
79
+ - type: textarea
80
+ id: context
81
+ attributes:
82
+ label: Additional context
83
+ description: Add any other context about the problem here.
84
+ validations:
85
+ required: false
TTS/.github/ISSUE_TEMPLATE/config.yml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: CoquiTTS GitHub Discussions
4
+ url: https://github.com/coqui-ai/TTS/discussions
5
+ about: Please ask and answer questions here.
6
+ - name: Coqui Security issue disclosure
7
+ url: mailto:info@coqui.ai
8
+ about: Please report security vulnerabilities here.
TTS/.github/ISSUE_TEMPLATE/feature_request.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ name: 🚀 Feature request
3
+ about: Suggest a feature or an idea for this project
4
+ title: '[Feature request] '
5
+ labels: feature request
6
+ assignees: ''
7
+
8
+ ---
9
+ <!-- Welcome to the 🐸TTS project!
10
+ We are excited to see your interest, and appreciate your support! --->
11
+ **🚀 Feature Description**
12
+
13
+ <!--A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
14
+
15
+ **Solution**
16
+
17
+ <!-- A clear and concise description of what you want to happen. -->
18
+
19
+ **Alternative Solutions**
20
+
21
+ <!-- A clear and concise description of any alternative solutions or features you've considered. -->
22
+
23
+ **Additional context**
24
+
25
+ <!-- Add any other context or screenshots about the feature request here. -->
TTS/.github/PR_TEMPLATE.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Pull request guidelines
2
+
3
+ Welcome to the 🐸TTS project! We are excited to see your interest, and appreciate your support!
4
+
5
+ This repository is governed by the Contributor Covenant Code of Conduct. For more details, see the [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) file.
6
+
7
+ In order to make a good pull request, please see our [CONTRIBUTING.md](CONTRIBUTING.md) file.
8
+
9
+ Before accepting your pull request, you will be asked to sign a [Contributor License Agreement](https://cla-assistant.io/coqui-ai/TTS).
10
+
11
+ This [Contributor License Agreement](https://cla-assistant.io/coqui-ai/TTS):
12
+
13
+ - Protects you, Coqui, and the users of the code.
14
+ - Does not change your rights to use your contributions for any purpose.
15
+ - Does not change the license of the 🐸TTS project. It just makes the terms of your contribution clearer and lets us know you are OK to contribute.
TTS/.github/stale.yml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Number of days of inactivity before an issue becomes stale
2
+ daysUntilStale: 30
3
+ # Number of days of inactivity before a stale issue is closed
4
+ daysUntilClose: 7
5
+ # Issues with these labels will never be considered stale
6
+ exemptLabels:
7
+ - pinned
8
+ - security
9
+ # Label to use when marking an issue as stale
10
+ staleLabel: wontfix
11
+ # Comment to post when marking an issue as stale. Set to `false` to disable
12
+ markComment: >
13
+ This issue has been automatically marked as stale because it has not had
14
+ recent activity. It will be closed if no further activity occurs. Thank you
15
+ for your contributions. You might also look our discussion channels.
16
+ # Comment to post when closing a stale issue. Set to `false` to disable
17
+ closeComment: false
18
+
TTS/.github/workflows/api_tests.yml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: api_tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ jobs:
8
+ check_skip:
9
+ runs-on: ubuntu-latest
10
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
11
+ steps:
12
+ - run: echo "${{ github.event.head_commit.message }}"
13
+
14
+ test:
15
+ runs-on: ubuntu-latest
16
+ strategy:
17
+ fail-fast: false
18
+ matrix:
19
+ python-version: [3.9, "3.10", "3.11"]
20
+ experimental: [false]
21
+ steps:
22
+ - uses: actions/checkout@v3
23
+ - name: Set up Python ${{ matrix.python-version }}
24
+ uses: actions/setup-python@v4
25
+ with:
26
+ python-version: ${{ matrix.python-version }}
27
+ architecture: x64
28
+ cache: 'pip'
29
+ cache-dependency-path: 'requirements*'
30
+ - name: check OS
31
+ run: cat /etc/os-release
32
+ - name: set ENV
33
+ run: |
34
+ export TRAINER_TELEMETRY=0
35
+ - name: Install dependencies
36
+ run: |
37
+ sudo apt-get update
38
+ sudo apt-get install -y --no-install-recommends git make gcc
39
+ sudo apt-get install espeak-ng
40
+ make system-deps
41
+ - name: Install/upgrade Python setup deps
42
+ run: python3 -m pip install --upgrade pip setuptools wheel
43
+ - name: Replace scarf urls
44
+ run: |
45
+ sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
46
+ - name: Install TTS
47
+ run: |
48
+ python3 -m pip install .[all]
49
+ python3 setup.py egg_info
50
+ - name: Unit tests
51
+ run: make api_tests
52
+ env:
53
+ COQUI_STUDIO_TOKEN: ${{ secrets.COQUI_STUDIO_TOKEN }}
TTS/.github/workflows/aux_tests.yml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: aux-tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ jobs:
10
+ check_skip:
11
+ runs-on: ubuntu-latest
12
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
13
+ steps:
14
+ - run: echo "${{ github.event.head_commit.message }}"
15
+
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ python-version: [3.9, "3.10", "3.11"]
22
+ experimental: [false]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ architecture: x64
30
+ cache: 'pip'
31
+ cache-dependency-path: 'requirements*'
32
+ - name: check OS
33
+ run: cat /etc/os-release
34
+ - name: set ENV
35
+ run: export TRAINER_TELEMETRY=0
36
+ - name: Install dependencies
37
+ run: |
38
+ sudo apt-get update
39
+ sudo apt-get install -y git make gcc
40
+ make system-deps
41
+ - name: Install/upgrade Python setup deps
42
+ run: python3 -m pip install --upgrade pip setuptools wheel
43
+ - name: Replace scarf urls
44
+ run: |
45
+ sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
46
+ - name: Install TTS
47
+ run: |
48
+ python3 -m pip install .[all]
49
+ python3 setup.py egg_info
50
+ - name: Unit tests
51
+ run: make test_aux
TTS/.github/workflows/data_tests.yml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: data-tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ jobs:
10
+ check_skip:
11
+ runs-on: ubuntu-latest
12
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
13
+ steps:
14
+ - run: echo "${{ github.event.head_commit.message }}"
15
+
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ python-version: [3.9, "3.10", "3.11"]
22
+ experimental: [false]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ architecture: x64
30
+ cache: 'pip'
31
+ cache-dependency-path: 'requirements*'
32
+ - name: check OS
33
+ run: cat /etc/os-release
34
+ - name: set ENV
35
+ run: export TRAINER_TELEMETRY=0
36
+ - name: Install dependencies
37
+ run: |
38
+ sudo apt-get update
39
+ sudo apt-get install -y --no-install-recommends git make gcc
40
+ make system-deps
41
+ - name: Install/upgrade Python setup deps
42
+ run: python3 -m pip install --upgrade pip setuptools wheel
43
+ - name: Replace scarf urls
44
+ run: |
45
+ sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
46
+ - name: Install TTS
47
+ run: |
48
+ python3 -m pip install .[all]
49
+ python3 setup.py egg_info
50
+ - name: Unit tests
51
+ run: make data_tests
TTS/.github/workflows/docker.yaml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: "Docker build and push"
2
+ on:
3
+ pull_request:
4
+ push:
5
+ branches:
6
+ - main
7
+ - dev
8
+ tags:
9
+ - v*
10
+ jobs:
11
+ docker-build:
12
+ name: "Build and push Docker image"
13
+ runs-on: ubuntu-20.04
14
+ strategy:
15
+ matrix:
16
+ arch: ["amd64"]
17
+ base:
18
+ - "nvidia/cuda:11.8.0-base-ubuntu22.04" # GPU enabled
19
+ - "python:3.10.8-slim" # CPU only
20
+ steps:
21
+ - uses: actions/checkout@v2
22
+ - name: Log in to the Container registry
23
+ uses: docker/login-action@v1
24
+ with:
25
+ registry: ghcr.io
26
+ username: ${{ github.actor }}
27
+ password: ${{ secrets.GITHUB_TOKEN }}
28
+ - name: Compute Docker tags, check VERSION file matches tag
29
+ id: compute-tag
30
+ run: |
31
+ set -ex
32
+ base="ghcr.io/coqui-ai/tts"
33
+ tags="" # PR build
34
+
35
+ if [[ ${{ matrix.base }} = "python:3.10.8-slim" ]]; then
36
+ base="ghcr.io/coqui-ai/tts-cpu"
37
+ fi
38
+
39
+ if [[ "${{ startsWith(github.ref, 'refs/heads/') }}" = "true" ]]; then
40
+ # Push to branch
41
+ github_ref="${{ github.ref }}"
42
+ branch=${github_ref#*refs/heads/} # strip prefix to get branch name
43
+ tags="${base}:${branch},${base}:${{ github.sha }},"
44
+ elif [[ "${{ startsWith(github.ref, 'refs/tags/') }}" = "true" ]]; then
45
+ VERSION="v$(cat TTS/VERSION)"
46
+ if [[ "${{ github.ref }}" != "refs/tags/${VERSION}" ]]; then
47
+ echo "Pushed tag does not match VERSION file. Aborting push."
48
+ exit 1
49
+ fi
50
+ tags="${base}:${VERSION},${base}:latest,${base}:${{ github.sha }}"
51
+ fi
52
+ echo "::set-output name=tags::${tags}"
53
+ - name: Set up QEMU
54
+ uses: docker/setup-qemu-action@v1
55
+ - name: Set up Docker Buildx
56
+ id: buildx
57
+ uses: docker/setup-buildx-action@v1
58
+ - name: Build and push
59
+ uses: docker/build-push-action@v2
60
+ with:
61
+ context: .
62
+ platforms: linux/${{ matrix.arch }}
63
+ push: ${{ github.event_name == 'push' }}
64
+ build-args: "BASE=${{ matrix.base }}"
65
+ tags: ${{ steps.compute-tag.outputs.tags }}
TTS/.github/workflows/inference_tests.yml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: inference_tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ jobs:
10
+ check_skip:
11
+ runs-on: ubuntu-latest
12
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
13
+ steps:
14
+ - run: echo "${{ github.event.head_commit.message }}"
15
+
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ python-version: [3.9, "3.10", "3.11"]
22
+ experimental: [false]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ architecture: x64
30
+ cache: 'pip'
31
+ cache-dependency-path: 'requirements*'
32
+ - name: check OS
33
+ run: cat /etc/os-release
34
+ - name: set ENV
35
+ run: |
36
+ export TRAINER_TELEMETRY=0
37
+ - name: Install dependencies
38
+ run: |
39
+ sudo apt-get update
40
+ sudo apt-get install -y --no-install-recommends git make gcc
41
+ sudo apt-get install espeak-ng
42
+ make system-deps
43
+ - name: Install/upgrade Python setup deps
44
+ run: python3 -m pip install --upgrade pip setuptools wheel
45
+ - name: Replace scarf urls
46
+ run: |
47
+ sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
48
+ - name: Install TTS
49
+ run: |
50
+ python3 -m pip install .[all]
51
+ python3 setup.py egg_info
52
+ - name: Unit tests
53
+ run: make inference_tests
TTS/.github/workflows/pypi-release.yml ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Publish Python 🐍 distributions 📦 to PyPI
2
+ on:
3
+ release:
4
+ types: [published]
5
+ defaults:
6
+ run:
7
+ shell:
8
+ bash
9
+ jobs:
10
+ build-sdist:
11
+ runs-on: ubuntu-20.04
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Verify tag matches version
15
+ run: |
16
+ set -ex
17
+ version=$(cat TTS/VERSION)
18
+ tag="${GITHUB_REF/refs\/tags\/}"
19
+ if [[ "v$version" != "$tag" ]]; then
20
+ exit 1
21
+ fi
22
+ - uses: actions/setup-python@v2
23
+ with:
24
+ python-version: 3.9
25
+ - run: |
26
+ python -m pip install -U pip setuptools wheel build
27
+ - run: |
28
+ python -m build
29
+ - run: |
30
+ pip install dist/*.tar.gz
31
+ - uses: actions/upload-artifact@v2
32
+ with:
33
+ name: sdist
34
+ path: dist/*.tar.gz
35
+ build-wheels:
36
+ runs-on: ubuntu-20.04
37
+ strategy:
38
+ matrix:
39
+ python-version: ["3.9", "3.10", "3.11"]
40
+ steps:
41
+ - uses: actions/checkout@v2
42
+ - uses: actions/setup-python@v2
43
+ with:
44
+ python-version: ${{ matrix.python-version }}
45
+ - name: Install pip requirements
46
+ run: |
47
+ python -m pip install -U pip setuptools wheel build
48
+ python -m pip install -r requirements.txt
49
+ - name: Setup and install manylinux1_x86_64 wheel
50
+ run: |
51
+ python setup.py bdist_wheel --plat-name=manylinux1_x86_64
52
+ python -m pip install dist/*-manylinux*.whl
53
+ - uses: actions/upload-artifact@v2
54
+ with:
55
+ name: wheel-${{ matrix.python-version }}
56
+ path: dist/*-manylinux*.whl
57
+ publish-artifacts:
58
+ runs-on: ubuntu-20.04
59
+ needs: [build-sdist, build-wheels]
60
+ steps:
61
+ - run: |
62
+ mkdir dist
63
+ - uses: actions/download-artifact@v2
64
+ with:
65
+ name: "sdist"
66
+ path: "dist/"
67
+ - uses: actions/download-artifact@v2
68
+ with:
69
+ name: "wheel-3.9"
70
+ path: "dist/"
71
+ - uses: actions/download-artifact@v2
72
+ with:
73
+ name: "wheel-3.10"
74
+ path: "dist/"
75
+ - uses: actions/download-artifact@v2
76
+ with:
77
+ name: "wheel-3.11"
78
+ path: "dist/"
79
+ - run: |
80
+ 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/*
TTS/.github/workflows/style_check.yml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: style-check
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ jobs:
10
+ check_skip:
11
+ runs-on: ubuntu-latest
12
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
13
+ steps:
14
+ - run: echo "${{ github.event.head_commit.message }}"
15
+
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ python-version: [3.9]
22
+ experimental: [false]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ architecture: x64
30
+ cache: 'pip'
31
+ cache-dependency-path: 'requirements*'
32
+ - name: check OS
33
+ run: cat /etc/os-release
34
+ - name: Install dependencies
35
+ run: |
36
+ sudo apt-get update
37
+ sudo apt-get install -y git make gcc
38
+ make system-deps
39
+ - name: Install/upgrade Python setup deps
40
+ run: python3 -m pip install --upgrade pip setuptools wheel
41
+ - name: Install TTS
42
+ run: |
43
+ python3 -m pip install .[all]
44
+ python3 setup.py egg_info
45
+ # - name: Lint check
46
+ # run: |
47
+ # make lint
TTS/.github/workflows/text_tests.yml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: text-tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ jobs:
10
+ check_skip:
11
+ runs-on: ubuntu-latest
12
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
13
+ steps:
14
+ - run: echo "${{ github.event.head_commit.message }}"
15
+
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ python-version: [3.9, "3.10", "3.11"]
22
+ experimental: [false]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ architecture: x64
30
+ cache: 'pip'
31
+ cache-dependency-path: 'requirements*'
32
+ - name: check OS
33
+ run: cat /etc/os-release
34
+ - name: set ENV
35
+ run: export TRAINER_TELEMETRY=0
36
+ - name: Install dependencies
37
+ run: |
38
+ sudo apt-get update
39
+ sudo apt-get install -y --no-install-recommends git make gcc
40
+ sudo apt-get install espeak
41
+ sudo apt-get install espeak-ng
42
+ make system-deps
43
+ - name: Install/upgrade Python setup deps
44
+ run: python3 -m pip install --upgrade pip setuptools wheel
45
+ - name: Install TTS
46
+ run: |
47
+ python3 -m pip install .[all]
48
+ python3 setup.py egg_info
49
+ - name: Unit tests
50
+ run: make test_text
TTS/.github/workflows/tts_tests.yml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: tts-tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ jobs:
10
+ check_skip:
11
+ runs-on: ubuntu-latest
12
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
13
+ steps:
14
+ - run: echo "${{ github.event.head_commit.message }}"
15
+
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ python-version: [3.9, "3.10", "3.11"]
22
+ experimental: [false]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ architecture: x64
30
+ cache: 'pip'
31
+ cache-dependency-path: 'requirements*'
32
+ - name: check OS
33
+ run: cat /etc/os-release
34
+ - name: set ENV
35
+ run: export TRAINER_TELEMETRY=0
36
+ - name: Install dependencies
37
+ run: |
38
+ sudo apt-get update
39
+ sudo apt-get install -y --no-install-recommends git make gcc
40
+ sudo apt-get install espeak
41
+ sudo apt-get install espeak-ng
42
+ make system-deps
43
+ - name: Install/upgrade Python setup deps
44
+ run: python3 -m pip install --upgrade pip setuptools wheel
45
+ - name: Replace scarf urls
46
+ run: |
47
+ sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
48
+ - name: Install TTS
49
+ run: |
50
+ python3 -m pip install .[all]
51
+ python3 setup.py egg_info
52
+ - name: Unit tests
53
+ run: make test_tts
TTS/.github/workflows/tts_tests2.yml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: tts-tests2
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ jobs:
10
+ check_skip:
11
+ runs-on: ubuntu-latest
12
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
13
+ steps:
14
+ - run: echo "${{ github.event.head_commit.message }}"
15
+
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ python-version: [3.9, "3.10", "3.11"]
22
+ experimental: [false]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ architecture: x64
30
+ cache: 'pip'
31
+ cache-dependency-path: 'requirements*'
32
+ - name: check OS
33
+ run: cat /etc/os-release
34
+ - name: set ENV
35
+ run: export TRAINER_TELEMETRY=0
36
+ - name: Install dependencies
37
+ run: |
38
+ sudo apt-get update
39
+ sudo apt-get install -y --no-install-recommends git make gcc
40
+ sudo apt-get install espeak
41
+ sudo apt-get install espeak-ng
42
+ make system-deps
43
+ - name: Install/upgrade Python setup deps
44
+ run: python3 -m pip install --upgrade pip setuptools wheel
45
+ - name: Replace scarf urls
46
+ run: |
47
+ sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
48
+ - name: Install TTS
49
+ run: |
50
+ python3 -m pip install .[all]
51
+ python3 setup.py egg_info
52
+ - name: Unit tests
53
+ run: make test_tts2
TTS/.github/workflows/vocoder_tests.yml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: vocoder-tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ jobs:
10
+ check_skip:
11
+ runs-on: ubuntu-latest
12
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
13
+ steps:
14
+ - run: echo "${{ github.event.head_commit.message }}"
15
+
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ python-version: [3.9, "3.10", "3.11"]
22
+ experimental: [false]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ architecture: x64
30
+ cache: 'pip'
31
+ cache-dependency-path: 'requirements*'
32
+ - name: check OS
33
+ run: cat /etc/os-release
34
+ - name: set ENV
35
+ run: export TRAINER_TELEMETRY=0
36
+ - name: Install dependencies
37
+ run: |
38
+ sudo apt-get update
39
+ sudo apt-get install -y git make gcc
40
+ make system-deps
41
+ - name: Install/upgrade Python setup deps
42
+ run: python3 -m pip install --upgrade pip setuptools wheel
43
+ - name: Install TTS
44
+ run: |
45
+ python3 -m pip install .[all]
46
+ python3 setup.py egg_info
47
+ - name: Unit tests
48
+ run: make test_vocoder
TTS/.github/workflows/zoo_tests0.yml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: zoo-tests-0
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ jobs:
10
+ check_skip:
11
+ runs-on: ubuntu-latest
12
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
13
+ steps:
14
+ - run: echo "${{ github.event.head_commit.message }}"
15
+
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ python-version: [3.9, "3.10", "3.11"]
22
+ experimental: [false]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ architecture: x64
30
+ cache: 'pip'
31
+ cache-dependency-path: 'requirements*'
32
+ - name: check OS
33
+ run: cat /etc/os-release
34
+ - name: set ENV
35
+ run: export TRAINER_TELEMETRY=0
36
+ - name: Install dependencies
37
+ run: |
38
+ sudo apt-get update
39
+ sudo apt-get install -y git make gcc
40
+ sudo apt-get install espeak espeak-ng
41
+ make system-deps
42
+ - name: Install/upgrade Python setup deps
43
+ run: python3 -m pip install --upgrade pip setuptools wheel
44
+ - name: Replace scarf urls
45
+ run: |
46
+ sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
47
+ - name: Install TTS
48
+ run: |
49
+ python3 -m pip install .[all]
50
+ python3 setup.py egg_info
51
+ - name: Unit tests
52
+ run: |
53
+ nose2 -F -v -B TTS tests.zoo_tests.test_models.test_models_offset_0_step_3
54
+ nose2 -F -v -B TTS tests.zoo_tests.test_models.test_voice_conversion
TTS/.github/workflows/zoo_tests1.yml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: zoo-tests-1
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ jobs:
10
+ check_skip:
11
+ runs-on: ubuntu-latest
12
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
13
+ steps:
14
+ - run: echo "${{ github.event.head_commit.message }}"
15
+
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ python-version: [3.9, "3.10", "3.11"]
22
+ experimental: [false]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ architecture: x64
30
+ cache: 'pip'
31
+ cache-dependency-path: 'requirements*'
32
+ - name: check OS
33
+ run: cat /etc/os-release
34
+ - name: set ENV
35
+ run: export TRAINER_TELEMETRY=0
36
+ - name: Install dependencies
37
+ run: |
38
+ sudo apt-get update
39
+ sudo apt-get install -y git make gcc
40
+ sudo apt-get install espeak espeak-ng
41
+ make system-deps
42
+ - name: Install/upgrade Python setup deps
43
+ run: python3 -m pip install --upgrade pip setuptools wheel
44
+ - name: Replace scarf urls
45
+ run: |
46
+ sed -i 's/https:\/\/coqui.gateway.scarf.sh\/hf\/bark\//https:\/\/huggingface.co\/erogol\/bark\/resolve\/main\//g' TTS/.models.json
47
+ sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
48
+ - name: Install TTS
49
+ run: |
50
+ python3 -m pip install .[all]
51
+ python3 setup.py egg_info
52
+ - name: Unit tests
53
+ run: nose2 -F -v -B --with-coverage --coverage TTS tests.zoo_tests.test_models.test_models_offset_1_step_3
TTS/.github/workflows/zoo_tests2.yml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: zoo-tests-2
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+ jobs:
10
+ check_skip:
11
+ runs-on: ubuntu-latest
12
+ if: "! contains(github.event.head_commit.message, '[ci skip]')"
13
+ steps:
14
+ - run: echo "${{ github.event.head_commit.message }}"
15
+
16
+ test:
17
+ runs-on: ubuntu-latest
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ python-version: [3.9, "3.10", "3.11"]
22
+ experimental: [false]
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Set up Python ${{ matrix.python-version }}
26
+ uses: actions/setup-python@v4
27
+ with:
28
+ python-version: ${{ matrix.python-version }}
29
+ architecture: x64
30
+ cache: 'pip'
31
+ cache-dependency-path: 'requirements*'
32
+ - name: check OS
33
+ run: cat /etc/os-release
34
+ - name: set ENV
35
+ run: export TRAINER_TELEMETRY=0
36
+ - name: Install dependencies
37
+ run: |
38
+ sudo apt-get update
39
+ sudo apt-get install -y git make gcc
40
+ sudo apt-get install espeak espeak-ng
41
+ make system-deps
42
+ - name: Install/upgrade Python setup deps
43
+ run: python3 -m pip install --upgrade pip setuptools wheel
44
+ - name: Replace scarf urls
45
+ run: |
46
+ sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
47
+ - name: Install TTS
48
+ run: |
49
+ python3 -m pip install .[all]
50
+ python3 setup.py egg_info
51
+ - name: Unit tests
52
+ run: nose2 -F -v -B --with-coverage --coverage TTS tests.zoo_tests.test_models.test_models_offset_2_step_3
TTS/.gitignore ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ WadaSNR/
2
+ .idea/
3
+ *.pyc
4
+ .DS_Store
5
+ ./__init__.py
6
+ # Byte-compiled / optimized / DLL files
7
+ __pycache__/
8
+ *.py[cod]
9
+ *$py.class
10
+
11
+ # C extensions
12
+ *.so
13
+
14
+ # Distribution / packaging
15
+ .Python
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ downloads/
20
+ eggs/
21
+ .eggs/
22
+ lib/
23
+ lib64/
24
+ parts/
25
+ sdist/
26
+ var/
27
+ wheels/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+ MANIFEST
32
+
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .coverage
47
+ .coverage.*
48
+ .cache
49
+ nosetests.xml
50
+ coverage.xml
51
+ *.cover
52
+ .hypothesis/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ .static_storage/
61
+ .media/
62
+ local_settings.py
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ target/
76
+
77
+ # Jupyter Notebook
78
+ .ipynb_checkpoints
79
+
80
+ # pyenv
81
+ .python-version
82
+
83
+ # celery beat schedule file
84
+ celerybeat-schedule
85
+
86
+ # SageMath parsed files
87
+ *.sage.py
88
+
89
+ # Environments
90
+ .env
91
+ .venv
92
+ env/
93
+ venv/
94
+ ENV/
95
+ env.bak/
96
+ venv.bak/
97
+
98
+ # Spyder project settings
99
+ .spyderproject
100
+ .spyproject
101
+
102
+ # Rope project settings
103
+ .ropeproject
104
+
105
+ # mkdocs documentation
106
+ /site
107
+
108
+ # mypy
109
+ .mypy_cache/
110
+
111
+ # vim
112
+ *.swp
113
+ *.swm
114
+ *.swn
115
+ *.swo
116
+
117
+ # pytorch models
118
+ *.pth
119
+ *.pth.tar
120
+ !dummy_speakers.pth
121
+ result/
122
+
123
+ # setup.py
124
+ version.py
125
+
126
+ # jupyter dummy files
127
+ core
128
+
129
+ # ignore local datasets
130
+ recipes/WIP/*
131
+ recipes/ljspeech/LJSpeech-1.1/*
132
+ recipes/vctk/VCTK/*
133
+ recipes/**/*.npy
134
+ recipes/**/*.json
135
+ VCTK-Corpus-removed-silence/*
136
+
137
+ # ignore training logs
138
+ trainer_*_log.txt
139
+
140
+ # files used internally for dev, test etc.
141
+ tests/outputs/*
142
+ tests/train_outputs/*
143
+ TODO.txt
144
+ .vscode/*
145
+ data/*
146
+ notebooks/data/*
147
+ TTS/tts/utils/monotonic_align/core.c
148
+ .vscode-upload.json
149
+ temp_build/*
150
+ events.out*
151
+ old_configs/*
152
+ model_importers/*
153
+ model_profiling/*
154
+ docs/source/TODO/*
155
+ .noseids
156
+ .dccache
157
+ log.txt
158
+ umap.png
159
+ *.out
160
+ SocialMedia.txt
161
+ output.wav
162
+ tts_output.wav
163
+ deps.json
164
+ speakers.json
165
+ internal/*
166
+ *_pitch.npy
167
+ *_phoneme.npy
168
+ wandb
169
+ depot/*
170
+ coqui_recipes/*
171
+ local_scripts/*
TTS/.pre-commit-config.yaml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ repos:
2
+ - repo: 'https://github.com/pre-commit/pre-commit-hooks'
3
+ rev: v2.3.0
4
+ hooks:
5
+ - id: check-yaml
6
+ - id: end-of-file-fixer
7
+ - id: trailing-whitespace
8
+ - repo: 'https://github.com/psf/black'
9
+ rev: 22.3.0
10
+ hooks:
11
+ - id: black
12
+ language_version: python3
13
+ - repo: https://github.com/pycqa/isort
14
+ rev: 5.8.0
15
+ hooks:
16
+ - id: isort
17
+ name: isort (python)
18
+ - id: isort
19
+ name: isort (cython)
20
+ types: [cython]
21
+ - id: isort
22
+ name: isort (pyi)
23
+ types: [pyi]
24
+ - repo: https://github.com/pycqa/pylint
25
+ rev: v2.8.2
26
+ hooks:
27
+ - id: pylint
TTS/.pylintrc ADDED
@@ -0,0 +1,599 @@