Skip to content

Commit 4fb954a

Browse files
committed
update:readme
1 parent 2492beb commit 4fb954a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393
9494
2. 注意 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行注释掉
98100
CHATTTS_DIR = snapshot_download('pzc163/chatTTS',cache_dir=MODEL_DIR)

templates/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
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',

0 commit comments

Comments
 (0)