Merge pull request #481 from chmodsss/main

Accessing __version__ command
This commit is contained in:
Eren Gölge 2021-05-11 10:20:48 +02:00 committed by GitHub
commit bf7ddfa542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 2 deletions

View File

@ -47,7 +47,7 @@ Please use our dedicated channels for questions and discussion. Help is much mor
| 🚀 **Released Models** | [TTS Releases](https://github.com/coqui-ai/TTS/releases) and [Experimental Models](https://github.com/coqui-ai/TTS/wiki/Experimental-Released-Models)|
| 🖥️ **Demo Server** | [TTS/server](https://github.com/coqui-ai/TTS/tree/master/TTS/server)|
| 🤖 **Synthesize speech** | [TTS/README.md](https://github.com/coqui-ai/TTS#example-synthesizing-speech-on-terminal-using-the-released-models)|
| 🛠️ **Implementing a New Model** | [TTS/Wiki][https://github.com/coqui-ai/TTS/wiki/Implementing-a-New-Model-in-%F0%9F%90%B8TTS]|
| 🛠️ **Implementing a New Model** | [TTS/Wiki](https://github.com/coqui-ai/TTS/wiki/Implementing-a-New-Model-in-%F0%9F%90%B8TTS)|
## 🥇 TTS Performance
<p align="center"><img src="https://raw.githubusercontent.com/coqui-ai/TTS/main/images/TTS-performance.png" width="800" /></p>

View File

@ -0,0 +1 @@
from ._version import __version__

1
TTS/_version.py Normal file
View File

@ -0,0 +1 @@
__version__ = '0.0.13.2'

View File

@ -4,6 +4,7 @@ import os
import subprocess
import sys
from distutils.version import LooseVersion
from TTS._version import __version__
import numpy
import setuptools.command.build_py
@ -18,7 +19,7 @@ if LooseVersion(sys.version) < LooseVersion("3.6") or LooseVersion(sys.version)
)
version = '0.0.13.2'
version = __version__
cwd = os.path.dirname(os.path.abspath(__file__))
class build_py(setuptools.command.build_py.build_py): # pylint: disable=too-many-ancestors