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:
@@ -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-raven/requirements.txt ${BUILD_DIR}/rhasspy-wake-raven/
|
||||
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
|
||||
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-raven/ ${APP_DIR}/rhasspy-wake-raven/
|
||||
COPY rhasspy-wake-raven-hermes/ ${APP_DIR}/rhasspy-wake-raven-hermes/
|
||||
COPY rhasspy-tts-larynx-hermes/ ${APP_DIR}/rhasspy-tts-larynx-hermes/
|
||||
|
||||
EXPOSE 12101
|
||||
|
||||
|
||||
@@ -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-raven/ ${BUILD_DIR}/rhasspy-wake-raven/
|
||||
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
|
||||
COPY RHASSPY_DIRS ${BUILD_DIR}/
|
||||
|
||||
@@ -52,6 +52,7 @@ enable_porcupine = is_yes("@ENABLE_PORCUPINE@")
|
||||
enable_precise = is_yes("@ENABLE_PRECISE@")
|
||||
enable_snips = is_yes("@ENABLE_SNIPS@")
|
||||
enable_raven = is_yes("@ENABLE_RAVEN@")
|
||||
enable_larynx = is_yes("@ENABLE_LARYNX@")
|
||||
|
||||
# Add optional paths/imports
|
||||
optional_pathex = []
|
||||
@@ -136,12 +137,9 @@ if enable_raven:
|
||||
]
|
||||
)
|
||||
|
||||
# Add numpy compiled artifacts
|
||||
# for site_dir in site_dirs:
|
||||
# numpy_dir = Path(site_dir) / "numpy"
|
||||
# if numpy_dir.is_dir():
|
||||
# for numpy_so_path in numpy_dir.rglob("*.so"):
|
||||
# found_artifacts[str(numpy_so_path)] = numpy_so_path
|
||||
if enable_larynx:
|
||||
optional_pathex.extend(["rhasspy-tts-larynx-hermes"])
|
||||
optional_imports.extend(["rhasspytts_larynx_hermes.__main__", "torch"])
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -27,6 +27,8 @@ _COMMANDS = [
|
||||
"speakers-cli-hermes",
|
||||
"supervisor",
|
||||
"tts-cli-hermes",
|
||||
"tts-larynx-hermes",
|
||||
"tts-wavenet-hermes",
|
||||
"wake-pocketsphinx-hermes",
|
||||
"wake-porcupine-hermes",
|
||||
"wake-precise-hermes",
|
||||
|
||||
Reference in New Issue
Block a user