Add setup

This commit is contained in:
James Betker 2022-05-02 21:24:34 -06:00
parent 98afa484f1
commit e93e5a0c16
3 changed files with 42 additions and 4 deletions

View File

@ -35,12 +35,15 @@ https://colab.research.google.com/drive/1wVVqUPqwiDBUVeWWOUNglpGhU3hg_cbR?usp=sh
### 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
git clone https://github.com/neonbjb/tortoise-tts.git
cd tortoise-tts
pip install -r requirements.txt
python setup.py install
```
### do_tts.py

View File

@ -1,5 +1,4 @@
torch
torchaudio
tqdm
rotary_embedding_torch
transformers
tokenizers

36
setup.py Normal file
View 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",
)