From d96851f716b9e18d827ba7795a343dbf3cf529c4 Mon Sep 17 00:00:00 2001 From: yum Date: Sun, 26 Feb 2023 20:12:36 -0800 Subject: Improve behavior around VAD segmentation events Use forked Whisper implementation which has tweaks to reduce dropped words around the beginning VAD segments. * Retain audio after VAD segmentation events --- GUI/package.ps1 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'GUI/package.ps1') diff --git a/GUI/package.ps1 b/GUI/package.ps1 index bac7147..fa5e162 100644 --- a/GUI/package.ps1 +++ b/GUI/package.ps1 @@ -65,12 +65,6 @@ if (-Not (Test-Path $git_dir)) { Read-Host -Prompt "Press enter once PortableGit is installed at $pwd\PortableGit" } -#$WHISPER_CHECKPOINT_URL = "https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main/ggml-base.bin" -#$WHISPER_CHECKPOINT_FILE = $(Split-Path -Path $WHISPER_CHECKPOINT_URL -Leaf) -#if (-Not (Test-Path $WHISPER_CHECKPOINT_FILE)) { -# Invoke-WebRequest $WHISPER_CHECKPOINT_URL -OutFile $WHISPER_CHECKPOINT_FILE -#} - mkdir $install_dir > $null mkdir $install_dir/Resources > $null cp -Recurse ../Animations TaSTT/Resources/Animations @@ -86,7 +80,7 @@ cp -Recurse ../Sounds TaSTT/Resources/Sounds cp -Recurse ../UnityAssets TaSTT/Resources/UnityAssets cp -Recurse ../BrowserSource TaSTT/Resources/BrowserSource cp GUI/x64/$release/GUI.exe TaSTT/TaSTT.exe -cp GUI/GUI/Whisper/Whisper.dll TaSTT/Whisper.dll +cp ../"TaSTT-Whisper"/x64/Release/Whisper.dll TaSTT/Whisper.dll mkdir TaSTT/Resources/Models #cp $WHISPER_CHECKPOINT_FILE TaSTT/Resources/Models/ -- cgit v1.2.3