1
0
mirror of https://github.com/rhasspy/rhasspy.git synced 2022-02-12 01:59:45 +03:00

Add Larynx to Dockerfiles

This commit is contained in:
Michael Hansen
2020-10-12 14:29:19 -04:00
parent 0a2f001871
commit 178956808a
4 changed files with 9 additions and 6 deletions

View File

@@ -110,6 +110,7 @@ COPY rhasspy-tts-wavenet-hermes/requirements.txt ${BUILD_DIR}/rhasspy-tts-wavene
COPY rhasspy-wake-pocketsphinx-hermes/requirements.txt ${BUILD_DIR}/rhasspy-wake-pocketsphinx-hermes/ COPY rhasspy-wake-pocketsphinx-hermes/requirements.txt ${BUILD_DIR}/rhasspy-wake-pocketsphinx-hermes/
COPY rhasspy-wake-raven/requirements.txt ${BUILD_DIR}/rhasspy-wake-raven/ COPY rhasspy-wake-raven/requirements.txt ${BUILD_DIR}/rhasspy-wake-raven/
COPY rhasspy-wake-raven-hermes/requirements.txt ${BUILD_DIR}/rhasspy-wake-raven-hermes/ COPY rhasspy-wake-raven-hermes/requirements.txt ${BUILD_DIR}/rhasspy-wake-raven-hermes/
COPY rhasspy-tts-larynx-hermes/requirements.txt ${BUILD_DIR}/rhasspy-tts-larynx-hermes/
# Autoconf # Autoconf
COPY m4/ ${BUILD_DIR}/m4/ COPY m4/ ${BUILD_DIR}/m4/
@@ -229,6 +230,7 @@ COPY rhasspy-tts-wavenet-hermes/ ${APP_DIR}/rhasspy-tts-wavenet-hermes/
COPY rhasspy-wake-pocketsphinx-hermes/ ${APP_DIR}/rhasspy-wake-pocketsphinx-hermes/ COPY rhasspy-wake-pocketsphinx-hermes/ ${APP_DIR}/rhasspy-wake-pocketsphinx-hermes/
COPY rhasspy-wake-raven/ ${APP_DIR}/rhasspy-wake-raven/ COPY rhasspy-wake-raven/ ${APP_DIR}/rhasspy-wake-raven/
COPY rhasspy-wake-raven-hermes/ ${APP_DIR}/rhasspy-wake-raven-hermes/ COPY rhasspy-wake-raven-hermes/ ${APP_DIR}/rhasspy-wake-raven-hermes/
COPY rhasspy-tts-larynx-hermes/ ${APP_DIR}/rhasspy-tts-larynx-hermes/
EXPOSE 12101 EXPOSE 12101

View File

@@ -98,6 +98,7 @@ COPY rhasspy-tts-wavenet-hermes/ ${BUILD_DIR}/rhasspy-wavenet-cli-hermes/
COPY rhasspy-wake-pocketsphinx-hermes/ ${BUILD_DIR}/rhasspy-wake-pocketsphinx-hermes/ COPY rhasspy-wake-pocketsphinx-hermes/ ${BUILD_DIR}/rhasspy-wake-pocketsphinx-hermes/
COPY rhasspy-wake-raven/ ${BUILD_DIR}/rhasspy-wake-raven/ COPY rhasspy-wake-raven/ ${BUILD_DIR}/rhasspy-wake-raven/
COPY rhasspy-wake-raven-hermes/ ${BUILD_DIR}/rhasspy-wake-raven-hermes/ COPY rhasspy-wake-raven-hermes/ ${BUILD_DIR}/rhasspy-wake-raven-hermes/
COPY rhasspy-tts-larynx-hermes/ ${BUILD_DIR}/rhasspy-tts-larynx-hermes/
# Create Rhasspy distribution packages from source # Create Rhasspy distribution packages from source
COPY RHASSPY_DIRS ${BUILD_DIR}/ COPY RHASSPY_DIRS ${BUILD_DIR}/

View File

@@ -52,6 +52,7 @@ enable_porcupine = is_yes("@ENABLE_PORCUPINE@")
enable_precise = is_yes("@ENABLE_PRECISE@") enable_precise = is_yes("@ENABLE_PRECISE@")
enable_snips = is_yes("@ENABLE_SNIPS@") enable_snips = is_yes("@ENABLE_SNIPS@")
enable_raven = is_yes("@ENABLE_RAVEN@") enable_raven = is_yes("@ENABLE_RAVEN@")
enable_larynx = is_yes("@ENABLE_LARYNX@")
# Add optional paths/imports # Add optional paths/imports
optional_pathex = [] optional_pathex = []
@@ -136,12 +137,9 @@ if enable_raven:
] ]
) )
# Add numpy compiled artifacts if enable_larynx:
# for site_dir in site_dirs: optional_pathex.extend(["rhasspy-tts-larynx-hermes"])
# numpy_dir = Path(site_dir) / "numpy" optional_imports.extend(["rhasspytts_larynx_hermes.__main__", "torch"])
# if numpy_dir.is_dir():
# for numpy_so_path in numpy_dir.rglob("*.so"):
# found_artifacts[str(numpy_so_path)] = numpy_so_path
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------

View File

@@ -27,6 +27,8 @@ _COMMANDS = [
"speakers-cli-hermes", "speakers-cli-hermes",
"supervisor", "supervisor",
"tts-cli-hermes", "tts-cli-hermes",
"tts-larynx-hermes",
"tts-wavenet-hermes",
"wake-pocketsphinx-hermes", "wake-pocketsphinx-hermes",
"wake-porcupine-hermes", "wake-porcupine-hermes",
"wake-precise-hermes", "wake-precise-hermes",