diff options
| author | yum <yum.food.vr@gmail.com> | 2023-02-26 20:12:36 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-02-26 20:12:36 -0800 |
| commit | d96851f716b9e18d827ba7795a343dbf3cf529c4 (patch) | |
| tree | 64e437c54f4e39048d3a169b619272f998dd1386 /GUI/package.ps1 | |
| parent | 61681895c14923f20dbd21aa821f4d2be8f7635d (diff) | |
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
Diffstat (limited to 'GUI/package.ps1')
| -rw-r--r-- | GUI/package.ps1 | 8 |
1 files changed, 1 insertions, 7 deletions
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/
|
