add different hubs usage

This commit is contained in:
pengzhendong
2026-01-08 19:38:45 +08:00
parent 595b2dc138
commit b6a8655eae
3 changed files with 5 additions and 0 deletions

View File

@ -81,6 +81,7 @@ def main():
trust_remote_code=True,
remote_code="./model.py",
device="cuda:0",
hub="ms"
)
wav_path = f"{model.model_path}/example/zh.mp3"