Add setup
Browse files- README.md +5 -2
- requirements.txt +1 -2
- setup.py +36 -0
README.md
CHANGED
@@ -35,12 +35,15 @@ https://colab.research.google.com/drive/1wVVqUPqwiDBUVeWWOUNglpGhU3hg_cbR?usp=sh
|
|
35 |
|
36 |
### Installation
|
37 |
|
38 |
-
If you want to use this on your own computer, you must have an NVIDIA GPU.
|
|
|
|
|
|
|
39 |
|
40 |
```shell
|
41 |
git clone https://github.com/neonbjb/tortoise-tts.git
|
42 |
cd tortoise-tts
|
43 |
-
|
44 |
```
|
45 |
|
46 |
### do_tts.py
|
|
|
35 |
|
36 |
### Installation
|
37 |
|
38 |
+
If you want to use this on your own computer, you must have an NVIDIA GPU. First, install pytorch using these
|
39 |
+
instructions: [https://pytorch.org/get-started/locally/](https://pytorch.org/get-started/locally/)
|
40 |
+
|
41 |
+
Then:
|
42 |
|
43 |
```shell
|
44 |
git clone https://github.com/neonbjb/tortoise-tts.git
|
45 |
cd tortoise-tts
|
46 |
+
python setup.py install
|
47 |
```
|
48 |
|
49 |
### do_tts.py
|
requirements.txt
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
|
2 |
-
torchaudio
|
3 |
rotary_embedding_torch
|
4 |
transformers
|
5 |
tokenizers
|
|
|
1 |
+
tqdm
|
|
|
2 |
rotary_embedding_torch
|
3 |
transformers
|
4 |
tokenizers
|
setup.py
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import setuptools
|
2 |
+
|
3 |
+
with open("README.md", "r", encoding="utf-8") as fh:
|
4 |
+
long_description = fh.read()
|
5 |
+
|
6 |
+
setuptools.setup(
|
7 |
+
name="TorToiSe",
|
8 |
+
packages=["tortoise"],
|
9 |
+
version="2.1.0",
|
10 |
+
author="James Betker",
|
11 |
+
author_email="james@adamant.ai",
|
12 |
+
description="A high quality multi-voice text-to-speech library",
|
13 |
+
long_description=long_description,
|
14 |
+
long_description_content_type="text/markdown",
|
15 |
+
url="https://github.com/neonbjb/tortoise-tts",
|
16 |
+
project_urls={},
|
17 |
+
install_requires=[
|
18 |
+
'tqdm',
|
19 |
+
'rotary_embedding_torch',
|
20 |
+
'inflect',
|
21 |
+
'progressbar',
|
22 |
+
'einops',
|
23 |
+
'unidecode',
|
24 |
+
'entmax',
|
25 |
+
'scipy',
|
26 |
+
'librosa',
|
27 |
+
'transformers',
|
28 |
+
'tokenizers',
|
29 |
+
],
|
30 |
+
classifiers=[
|
31 |
+
"Programming Language :: Python :: 3",
|
32 |
+
"License :: OSI Approved :: Apache Software License",
|
33 |
+
"Operating System :: OS Independent",
|
34 |
+
],
|
35 |
+
python_requires=">=3.6",
|
36 |
+
)
|