dsh-hf-spaces

将你自己的 Hugging Face GPU Space 中的模型加入模型选择器,发送消息时启动该 Space,显示启动进度,并在空闲或达到时限时将其暂停。需要 Hugging Face 账号、一个提供 OpenAI 兼容 API 的 GPU Space、在 DSH 凭据库中以 HF_TOKEN 保存的 Hugging Face token,以及 GPU 硬件所需的付费计划;GPU 机时由 Hugging Face 计费。

插件介绍

将你自己的 Hugging Face GPU Space 中的模型加入模型选择器,发送消息时启动该 Space,显示启动进度,并在空闲或达到时限时将其暂停。需要 Hugging Face 账号、一个提供 OpenAI 兼容 API 的 GPU Space、在 DSH 凭据库中以 HF_TOKEN 保存的 Hugging Face token,以及 GPU 硬件所需的付费计划;GPU 机时由 Hugging Face 计费。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:dev-bravelo/dsh-hf-spaces

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令