Add TTS markdown sanitization and expand deployment docs.
Strip Markdown and stage directions before ChatTTS synthesis with chunked long scripts; document model pre-download, server-update, and microphone HTTPS notes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -940,8 +940,13 @@ def build_app() -> gr.Blocks:
|
||||
|
||||
with gr.Column(scale=1):
|
||||
gr.Markdown("### Step 3 · ChatTTS 配音合成")
|
||||
gr.Markdown(
|
||||
"> 合成前会自动去掉 **Markdown**(`#`、`**`)、emoji、"
|
||||
"舞台提示(如前奏/转场)和文末「修改笔记」。"
|
||||
"也可手动删成纯口语文本再点合成。"
|
||||
)
|
||||
polished_text = gr.Textbox(
|
||||
label="润色配音稿(可编辑)",
|
||||
label="润色配音稿(可编辑,支持含 Markdown,合成时自动清洗)",
|
||||
lines=10,
|
||||
placeholder="润色结果将显示在此...",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user