summaryrefslogtreecommitdiffstats
path: root/GUI/package.ps1
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-09-07 22:04:16 -0700
committeryum <yum.food.vr@gmail.com>2023-09-07 22:04:16 -0700
commita82e43c16ff097a7c57ee87e67fa67e7f007b977 (patch)
treeacb7c884a7a0f5037269a5e79a9bc79ed9f5372c /GUI/package.ps1
parentb40ded2981d5b037cdab9b78ff1ea0f8f22658d3 (diff)
Switch to VadCommitter
FuzzyRepeatCommitter was approximating this behavior in the best-performing configuration, so switch to it in earnest. This committer simply commits audio once we detect a long enough gap in speech. That's it!
Diffstat (limited to 'GUI/package.ps1')
-rw-r--r--GUI/package.ps16
1 files changed, 6 insertions, 0 deletions
diff --git a/GUI/package.ps1 b/GUI/package.ps1
index ca4f4b4..c178a94 100644
--- a/GUI/package.ps1
+++ b/GUI/package.ps1
@@ -162,6 +162,10 @@ if (-Not (Test-Path curl)) {
popd > $null
}
+if (-Not (Test-Path "silero-vad")) {
+ git clone "https://github.com/snakers4/silero-vad"
+}
+
mkdir $install_dir > $null
mkdir $install_dir/Resources > $null
cp -Recurse ../Animations TaSTT/Resources/Animations
@@ -179,6 +183,8 @@ cp -Recurse ../UnityAssets TaSTT/Resources/UnityAssets
cp -Recurse ../BrowserSource TaSTT/Resources/BrowserSource
cp GUI/x64/$release/GUI.exe TaSTT/TaSTT.exe
mkdir TaSTT/Resources/Models
+cp "silero-vad/files/silero_vad.onnx" TaSTT/Resources/Models/
+cp "silero-vad/LICENSE" TaSTT/Resources/Models/silero_vad.onnx.LICENSE
mkdir TaSTT/Resources/Uwu
cp UwwwuPP/build/Src/Debug/Uwwwu.exe TaSTT/Resources/Uwu/
cp UwwwuPP/LICENSE TaSTT/Resources/Uwu/