File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 9393
94942. 注意 modelscope 仅允许中国大陆ip下载模型,如果遇到 proxy 类错误,请关闭代理。如果你希望从 huggingface.co 下载模型,请打开 `app.py` 查看大约第50行-60行的注释。
9595
96+ 3. 如果需要GPU加速,必须是英伟达显卡,并且安装 cuda版本的torch。`pip install torch torchaudio --index-url https://download.pytorch.org/whl/cu118`
97+
9698```
9799# 默认从 modelscope 下载模型,如果想从huggingface下载模型,请将以下3行注释掉
98100CHATTTS_DIR = snapshot_download('pzc163/chatTTS',cache_dir=MODEL_DIR)
Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
6+ < title > ChatTTS WebUI & API - v{{version}}</ title >
67 < link href ="/static/js/bootstrap.min.css " rel ="stylesheet ">
78
89 < style >
@@ -227,8 +228,10 @@ <h1 class="text-center">ChatTTS WebUI & API<span class="fs-6">(v{{version}})</sp
227228
228229 $ ( '#clear-btn' ) . click ( function ( ) {
229230 layer . confirm ( '是否要清除所有wav文件' , {
230- btn : [ '是' , '否' ]
231+ btn : [ '是' , '否' ] ,
232+ title :false
231233 } , function ( ) {
234+ layer . msg ( '清理中...' )
232235 $ . ajax ( {
233236 url : '/clear_wavs' ,
234237 type : 'POST' ,
You can’t perform that action at this time.
0 commit comments