mirror of https://github.com/coqui-ai/TTS.git
fix: restore TTS.__version__ attribute
This is used by the TTS/bin/collect_env_info.py script with which users print version information for bug reports. We restore the TTS.__version__ attribute so that old versions of the script still work.
This commit is contained in:
parent
df088e99df
commit
7df4c2fa47
|
@ -0,0 +1,3 @@
|
|||
import importlib.metadata
|
||||
|
||||
__version__ = importlib.metadata.version("coqui-tts")
|
|
@ -20,7 +20,7 @@ sys.path.insert(0, os.path.abspath("../.."))
|
|||
autodoc_mock_imports = ["soundfile"]
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
project = "TTS"
|
||||
project = "coqui-tts"
|
||||
copyright = "2021 Coqui GmbH, 2020 TTS authors"
|
||||
author = "Coqui GmbH"
|
||||
|
||||
|
|
Loading…
Reference in New Issue