- 服务器 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>
19 lines
677 B
PowerShell
19 lines
677 B
PowerShell
# 下载 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"
|