From 65f9a27dd40548c01e23f2a7ff5892765e4c398f Mon Sep 17 00:00:00 2001 From: Mylo <36931363+gitmylo@users.noreply.github.com> Date: Fri, 23 Jun 2023 23:36:04 +0200 Subject: [PATCH] Description for text input to explain splitting. #39 --- webui/modules/implementations/ttsmodels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/modules/implementations/ttsmodels.py b/webui/modules/implementations/ttsmodels.py index 610c374..6886552 100644 --- a/webui/modules/implementations/ttsmodels.py +++ b/webui/modules/implementations/ttsmodels.py @@ -76,7 +76,7 @@ def update_voices(): return gradio.update(choices=self.get_voices()) input_type = gradio.Radio(['Text', 'Audio'], label='Input type', value='Text', **quick_kwargs) - textbox = gradio.Textbox(lines=7, label='Input', placeholder='Text to speak goes here', **quick_kwargs) + textbox = gradio.Textbox(lines=7, label='Input', placeholder='Text to speak goes here', info='Use enter to split long generations, keep the audio a bit long. (Automatic optimal splitting will be added soon.)', **quick_kwargs) gen_prefix = gradio.Textbox(label='Generation prefix', info='Add this text before every generated chunk, better for keeping emotions.', **quick_kwargs) audio_upload = gradio.File(label='Words to speak', file_types=['audio'], **quick_kwargs) audio_upload.hide = True