forked from mrq/tortoise-tts
Add setup
This commit is contained in:
parent
98afa484f1
commit
e93e5a0c16
|
@ -35,12 +35,15 @@ https://colab.research.google.com/drive/1wVVqUPqwiDBUVeWWOUNglpGhU3hg_cbR?usp=sh
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
If you want to use this on your own computer, you must have an NVIDIA GPU. Installation:
|
If you want to use this on your own computer, you must have an NVIDIA GPU. First, install pytorch using these
|
||||||
|
instructions: [https://pytorch.org/get-started/locally/](https://pytorch.org/get-started/locally/)
|
||||||
|
|
||||||
|
Then:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/neonbjb/tortoise-tts.git
|
git clone https://github.com/neonbjb/tortoise-tts.git
|
||||||
cd tortoise-tts
|
cd tortoise-tts
|
||||||
pip install -r requirements.txt
|
python setup.py install
|
||||||
```
|
```
|
||||||
|
|
||||||
### do_tts.py
|
### do_tts.py
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
torch
|
tqdm
|
||||||
torchaudio
|
|
||||||
rotary_embedding_torch
|
rotary_embedding_torch
|
||||||
transformers
|
transformers
|
||||||
tokenizers
|
tokenizers
|
||||||
|
|
36
setup.py
Normal file
36
setup.py
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
import setuptools
|
||||||
|
|
||||||
|
with open("README.md", "r", encoding="utf-8") as fh:
|
||||||
|
long_description = fh.read()
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
name="TorToiSe",
|
||||||
|
packages=["tortoise"],
|
||||||
|
version="2.1.0",
|
||||||
|
author="James Betker",
|
||||||
|
author_email="james@adamant.ai",
|
||||||
|
description="A high quality multi-voice text-to-speech library",
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
|
url="https://github.com/neonbjb/tortoise-tts",
|
||||||
|
project_urls={},
|
||||||
|
install_requires=[
|
||||||
|
'tqdm',
|
||||||
|
'rotary_embedding_torch',
|
||||||
|
'inflect',
|
||||||
|
'progressbar',
|
||||||
|
'einops',
|
||||||
|
'unidecode',
|
||||||
|
'entmax',
|
||||||
|
'scipy',
|
||||||
|
'librosa',
|
||||||
|
'transformers',
|
||||||
|
'tokenizers',
|
||||||
|
],
|
||||||
|
classifiers=[
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"License :: OSI Approved :: Apache Software License",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
],
|
||||||
|
python_requires=">=3.6",
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user