From 262997186339b2cd4a495021c923e414ba7147b7 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Fri, 6 Oct 2023 17:52:59 -0400 Subject: [PATCH] fix(TTS) closes #3552 --- projects/github.com/coqui-ai/TTS/package.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/projects/github.com/coqui-ai/TTS/package.yml b/projects/github.com/coqui-ai/TTS/package.yml index 18e1b875..f3e01923 100644 --- a/projects/github.com/coqui-ai/TTS/package.yml +++ b/projects/github.com/coqui-ai/TTS/package.yml @@ -21,14 +21,20 @@ dependencies: taku910.github.io/mecab: '*' build: - script: | - python_venv=$(which python-venv.py) - env python $python_venv {{prefix}}/bin/tts - cp {{prefix}}/bin/tts {{prefix}}/bin/tts-server - cp {{prefix}}/bin/tts {{prefix}}/bin/ttx dependencies: pip.pypa.io: '*' git-scm.org: '*' + script: + - python-venv.py {{prefix}}/bin/tts + - run: | + cp {{prefix}}/bin/tts {{prefix}}/bin/tts-server + cp {{prefix}}/bin/tts {{prefix}}/bin/ttx + working-directory: ${{prefix}}/bin -test: | - tts -h + # FIXME: the nvidia package is over 3GB, and OOMs the builder when trying + # to `tar Jcf` it. We likely need this back, but it prevents building at present. + - run: rm -r nvidia + if: linux + working-directory: ${{prefix}}/venv/lib/python{{deps.python.org.version.marketing}}/site-packages + +test: tts -h