mirror of https://github.com/coqui-ai/TTS.git
fix manifest file
parent
57b668fd86
commit
82e029529e
20
Dockerfile
20
Dockerfile
|
@ -1,20 +0,0 @@
|
|||
FROM pytorch/pytorch:1.0.1-cuda10.0-cudnn7-runtime
|
||||
|
||||
WORKDIR /srv/app
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y libsndfile1 espeak && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
# Copy Source later to enable dependency caching
|
||||
COPY requirements.txt /srv/app/
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . /srv/app
|
||||
|
||||
# http://bugs.python.org/issue19846
|
||||
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
CMD python3.6 server/server.py -c server/conf.json
|
|
@ -1,4 +1,10 @@
|
|||
include README.md
|
||||
include LICENSE.txt
|
||||
include requirements.txt
|
||||
include TTS/.models.json
|
||||
recursive-include TTS *.json
|
||||
recursive-include TTS *.html
|
||||
recursive-include TTS *.png
|
||||
recursive-include TTS *.md
|
||||
recursive-include notebooks *.ipynb
|
||||
recursive-include images *.png
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ def main():
|
|||
args = parser.parse_args()
|
||||
|
||||
# load model manager
|
||||
path = Path(__file__).parent / "../../.models.json"
|
||||
path = Path(__file__).parent / "../.models.json"
|
||||
manager = ModelManager(path)
|
||||
|
||||
model_path = None
|
||||
|
|
|
@ -47,7 +47,7 @@ wavernn_config_file = os.path.join(embedded_wavernn_folder, 'config.json')
|
|||
|
||||
args = create_argparser().parse_args()
|
||||
|
||||
path = Path(__file__).parent / "../../.models.json"
|
||||
path = Path(__file__).parent / "../.models.json"
|
||||
manager = ModelManager(path)
|
||||
|
||||
if args.list_models:
|
||||
|
|
3
setup.py
3
setup.py
|
@ -33,7 +33,7 @@ args, unknown_args = parser.parse_known_args()
|
|||
# Remove our arguments from argv so that setuptools doesn't see them
|
||||
sys.argv = [sys.argv[0]] + unknown_args
|
||||
|
||||
version = '0.0.9a4'
|
||||
version = '0.0.9a9'
|
||||
cwd = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
# Handle Cython code
|
||||
|
@ -105,6 +105,7 @@ setup(
|
|||
long_description=README,
|
||||
long_description_content_type="text/markdown",
|
||||
license='MPL-2.0',
|
||||
include_package_data = True,
|
||||
ext_modules=find_cython_extensions(),
|
||||
packages=find_packages(include=['TTS*']),
|
||||
project_urls={
|
||||
|
|
Loading…
Reference in New Issue