jianchang512 / ChatTTS-ui

一个简单的本地网页界面,使用ChatTTS将文字合成为语音,同时支持对外提供API接口。A simple native web interface that uses ChatTTS to synthesize text into speech, along with support for external API interfaces.
https://pyvideotrans.com
Other
5.19k stars 570 forks source link

使用笑声和停顿 #5

Open ha7rock opened 1 month ago

ha7rock commented 1 month ago

在 prompt 里面填写了停顿和笑声的 shortcut,但是文本框那边还是要录入,不懂怎么工作,请指教。

jianchang512 commented 1 month ago
  1. 在文本框里, 想使用的地方使用笑声和停顿,
  2. prompt里填写 [oral_2][laugh_0][break_6]

https://github.com/2noise/ChatTTS?tab=readme-ov-file#advanced-usage

Rayzhangxu commented 1 month ago

oral是口语化吗,感觉转换时会加一些口头语,是因为这个吗,是不是删了就和原文一模一样了?

flyfox666 commented 1 month ago

话说这个参数,[oral_2][laugh_0][break_6],有具体的设定值么。现在的ui版本中是不是文本框哪里需要加入[break][laugh]?感谢

jianchang512 commented 1 month ago

如果需要笑声,就在文本框里加入,不需要就无需加

use oral(0-9), laugh(0-2), break_(0-7)

cfso1234 commented 1 month ago

添加了没作用是什么原因

cyberxsboy commented 1 month ago

如果需要笑声,就在文本框里加入,不需要就无需加

use oral(0-9), laugh(0-2), break_(0-7)

为什么oral和laugh不起作用,而且,只有break会有效果,在它生效的同时,还会把这个参数当成文本给读出来。。。。。

jianchang512 commented 1 month ago

86

ddx2018 commented 1 month ago

谢谢大神的工作。我也是,用了各种prompt插入到文本里都不起作用,会把它们读出来

station19 commented 1 month ago

Prompt里插入 [oral_2][laugh_0][break_4] 没起作用啊 ,啥情况?

cyberxsboy commented 1 month ago

有些大神说是插入到文本当中,可我插入到文本当中只有一个能生效,但问题也来了:这些标签也会被读出来……

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年06月05日 15:44 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [jianchang512/ChatTTS-ui] 使用笑声和停顿 (Issue #5) |

Prompt里插入 [oral_2][laugh_0][break_4] 没起作用啊 ,啥情况?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

jianchang512 commented 1 month ago

Prompt 文本框里插入 [oral_2][laugh_0][break_4] 选择 跳过refine text 试试

cyberxsboy commented 1 month ago

试过,没用

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年06月05日 16:41 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [jianchang512/ChatTTS-ui] 使用笑声和停顿 (Issue #5) |

Prompt 文本框里插入 [oral_2][laugh_0][break_4] 选择 跳过refine text 试试

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

station19 commented 1 month ago

Prompt 文本框里插入 [oral_2][laugh_0][break_4] 选择 跳过refine text 试试

我也试了没用

jianchang512 commented 1 month ago

无效时的文本 和 prompt 各项配置截图上来看看

cyberxsboy commented 1 month ago

有什么好看的,都是用的默认参数,只把标签添加到文本当中而已。

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年06月05日 16:53 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [jianchang512/ChatTTS-ui] 使用笑声和停顿 (Issue #5) |

无效时的文本 和 prompt 各项配置截图上来看看

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

jianchang512 commented 1 month ago

下载 0.87 升级补丁包覆盖

station19 commented 1 month ago

下载 0.87 升级补丁包覆盖

啥补丁?在哪下?我现在用的就是v0.87

jianchang512 commented 1 month ago

源码部署重新拉取

预打包版 https://github.com/jianchang512/ChatTTS-ui/releases/tag/v0.85 下载 50M的包