Files
karuo-ai/02_卡人(水)/水溪_整理归档/语音输入/脚本/handy_download_sensevoice.sh
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

21 lines
550 B
Bash
Executable File
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.

#!/usr/bin/env bash
# 下载 SenseVoice int8 模型到 Handy 模型目录
set -euo pipefail
MODELS="${HOME}/Library/Application Support/com.pais.handy/models"
TARGET="${MODELS}/sense-voice-int8"
URL="https://blob.handy.computer/sense-voice-int8.tar.gz"
TMP="/tmp/sense-voice-int8.tar.gz"
mkdir -p "$MODELS"
if [[ -f "${TARGET}/model.int8.onnx" ]]; then
echo "✓ 已有 sense-voice-int8"
exit 0
fi
echo "下载 SenseVoice约 228MB…"
curl -fL -o "$TMP" "$URL"
tar -xzf "$TMP" -C "$MODELS"
rm -f "$TMP"
echo "✓ 已解压到 ${TARGET}"