Spaces:
Runtime error
Runtime error
Download update.bat from lisongfeng/ChatTTS-WebUI: direct link, hf CLI and curl.
- Browser
- Download file 258 Bytes
-
https://huggingface.co/spaces/lisongfeng/ChatTTS-WebUI/resolve/main/update.bat
- Command line
-
hf download hf://spaces/lisongfeng/ChatTTS-WebUI/update.bat
-
curl -L -o update.bat https://huggingface.co/spaces/lisongfeng/ChatTTS-WebUI/resolve/main/update.bat
258 Bytes
| @echo off | |
| REM 设置Python路径 | |
| set "PATH=%cd%\environment\Scripts;%cd%\environment\Library\bin;%cd%\environment;%PATH%" | |
| REM 检查并更新ChatTTS | |
| echo Checking and updating ChatTTS... | |
| python update.py | |
| REM 提示更新完成 | |
| echo Update complete! | |
| pause | |