From 984933f155cb5350c32bbfb8959b8b507ff7f33a Mon Sep 17 00:00:00 2001 From: jpgallegoar <65631402+jpgallegoar@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:23:12 +0200 Subject: [PATCH] Fixed formatting --- src/f5_tts/infer/infer_gradio.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/f5_tts/infer/infer_gradio.py b/src/f5_tts/infer/infer_gradio.py index 7c04d53..d58268f 100644 --- a/src/f5_tts/infer/infer_gradio.py +++ b/src/f5_tts/infer/infer_gradio.py @@ -201,7 +201,7 @@ def parse_speechtypes_text(gen_text): with gr.Blocks() as app_multistyle: # New section for emotional generation gr.Markdown( - """ + """ # Multiple Speech-Type Generation This section allows you to generate multiple speech types or multiple people's voices. Enter your text in the format shown below, and the system will generate speech using the appropriate type. If unspecified, the model will use the regular speech type. The current speech type will be used until the next speech type is specified. @@ -254,7 +254,6 @@ with gr.Blocks() as app_multistyle: with gr.Column(): name_input = gr.Textbox(label="Speech Type Name") delete_btn = gr.Button("Delete", variant="secondary") - audio_input = gr.Audio(label="Reference Audio", type="filepath") ref_text_input = gr.Textbox(label="Reference Text", lines=2) speech_type_rows.append(row) @@ -263,7 +262,6 @@ with gr.Blocks() as app_multistyle: speech_type_ref_texts.append(ref_text_input) speech_type_delete_btns.append(delete_btn) - # Button to add speech type add_speech_type_btn = gr.Button("Add Speech Type")