Skip to content

Commit

Permalink
📝 update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed Jun 3, 2024
1 parent 4ad0cee commit 881b694
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,11 @@ prosody 和 voice 一样接收所有语音控制参数,除此之外还可以

[break_demo.webm](https://github.com/lenML/ChatTTS-Forge/assets/37396659/e1c682b8-fce1-40fa-a4bf-7465a266798a)

# styles list
# styles (Experimental)

> 暂时还没有找到特别稳定的 prompt 方法,使用 style 时可能导致输出质量下降
文件 `./data/styles.csv` 中包含所有风格,下面是具体的设定

> 风格名带有 `_p` 结尾的是注入上下文的风格,可能导致质量下降但是控制更强一点
| 风格 | 说明 |
| ------------------------- | -------------------------------------------------------------------------------------------------- |
Expand Down
4 changes: 3 additions & 1 deletion webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ def refine_text(text: str):

def read_local_readme():
with open("README.md", "r", encoding="utf-8") as file:
return file.read()
content = file.read()
content = content[content.index("# 🗣️ ChatTTS-Forge") :]
return content


# 演示示例文本
Expand Down

0 comments on commit 881b694

Please sign in to comment.