Skip to content

Commit f749543

Browse files
WEIFENG2333claudehappy-otter
committed
Add huggingface_hub to runtime dependencies
FunASR's download_from_hf() requires huggingface_hub for snapshot_download. Without it, HF model downloads fail silently and model name resolution breaks with "is not registered" errors. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1 parent 104e7f7 commit f749543

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/funasr_server/runtime_template/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ requires-python = ">=3.10,<3.13"
55
dependencies = [
66
"funasr>=1.3.0",
77
"modelscope",
8+
"huggingface_hub",
89
"torch>=2.0.0",
910
"torchaudio>=2.0.0",
1011
"uvicorn>=0.30.0",

0 commit comments

Comments
 (0)