From c3ed564fd5fbab7e4abf2c48fbc67a00baf401d6 Mon Sep 17 00:00:00 2001 From: Teemu Ruokolainen Date: Wed, 15 Nov 2023 16:11:17 +0200 Subject: [PATCH] fix: missing pyannote_config --- modules/speech2text/00000000.lua | 3 +-- modules/speech2text/20231115.lua | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/speech2text/00000000.lua b/modules/speech2text/00000000.lua index 94157b5..061960b 100644 --- a/modules/speech2text/00000000.lua +++ b/modules/speech2text/00000000.lua @@ -47,7 +47,6 @@ Requested Slurm resources can be adjusted using the following environment variab ]] - local version = "00000000" whatis("Name : Aalto speech2text") whatis("Version :" .. version) @@ -62,7 +61,7 @@ prepend_path("PATH", conda_env) local hf_home = "/scratch/shareddata/speech2text" local torch_home = "/scratch/shareddata/speech2text" local whisper_cache = "/scratch/shareddata/openai-whisper/envs/venv-2023-03-29/models/" -local conda_env = "/share/apps/manual_installations/speech2text/" .. version .. "/pyannote/config.yml" +local pyannote_config = "/share/apps/manual_installations/speech2text/" .. version .. "/pyannote/config.yml" local numba_cache = "/tmp" local mplconfigdir = "/tmp" diff --git a/modules/speech2text/20231115.lua b/modules/speech2text/20231115.lua index cece1ae..9be99c5 100644 --- a/modules/speech2text/20231115.lua +++ b/modules/speech2text/20231115.lua @@ -47,7 +47,6 @@ Requested Slurm resources can be adjusted using the following environment variab ]] - local version = "20231115" whatis("Name : Aalto speech2text") whatis("Version :" .. version) @@ -62,7 +61,7 @@ prepend_path("PATH", conda_env) local hf_home = "/scratch/shareddata/speech2text" local torch_home = "/scratch/shareddata/speech2text" local whisper_cache = "/scratch/shareddata/openai-whisper/envs/venv-2023-03-29/models/" -local conda_env = "/share/apps/manual_installations/speech2text/" .. version .. "/pyannote/config.yml" +local pyannote_config = "/share/apps/manual_installations/speech2text/" .. version .. "/pyannote/config.yml" local numba_cache = "/tmp" local mplconfigdir = "/tmp" @@ -88,5 +87,4 @@ pushenv("HF_HUB_OFFLINE", "1") if mode() == "load" then LmodMessage("For more information, run 'module spider speech2text/" .. version .. "'") -end - +end \ No newline at end of file