Просмотр исходного кода

流式推理音频添加下载按钮 (#268)

* Update webui.py

流式推理音频添加下载按钮

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
刘悦 1 год назад
Родитель
Сommit
6a0f25d96e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      tools/webui.py

+ 1 - 0
tools/webui.py

@@ -357,6 +357,7 @@ def build_app():
                         streaming=True,
                         autoplay=True,
                         interactive=False,
+                        show_download_button=True,
                     )
                 with gr.Row():
                     with gr.Column(scale=3):