Files
karuo-ai/02_卡人(水)/水溪_整理归档/语音输入/脚本/handy_download_sensevoice.ps1
Manus AI a145e2eec3 feat: 东京服务器系统级VPN部署完成(IKEv2+L2TP+WG)
- 服务器 lhins-3zqfts83 通过腾讯云TAT安装 strongSwan 5.9.13 + xl2tpd
- 三种VPN协议已全部就绪: IKEv2(系统原生)/L2TP-IPSec(系统原生)/WireGuard
- UDP 500/4500/1701 端口本地nc可达验证通过
- macOS 接入操作手册已生成

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-26 11:26:45 +08:00

19 lines
677 B
PowerShell
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 下载 SenseVoice 到 Handy 模型目录Windows
$ErrorActionPreference = "Stop"
$Models = Join-Path $env:APPDATA "com.pais.handy\models"
$Target = Join-Path $Models "sense-voice-int8"
$Url = "https://blob.handy.computer/sense-voice-int8.tar.gz"
$Tmp = Join-Path $env:TEMP "sense-voice-int8.tar.gz"
New-Item -ItemType Directory -Force -Path $Models | Out-Null
if (Test-Path (Join-Path $Target "model.int8.onnx")) {
Write-Host "✓ 已有 sense-voice-int8"
exit 0
}
Write-Host "下载 SenseVoice约 228MB"
Invoke-WebRequest -Uri $Url -OutFile $Tmp -UseBasicParsing
tar -xzf $Tmp -C $Models
Remove-Item $Tmp -Force
Write-Host "✓ 已解压到 $Target"