Spaces:
Running
on
Zero
Running
on
Zero
Add ref text
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ with gr.Blocks() as app_credits:
|
|
166 |
with gr.Blocks() as app_tts:
|
167 |
gr.Markdown("# Batched TTS")
|
168 |
ref_audio_input = gr.Audio(label="Reference Audio", type="filepath", visible=False, value=Path("./sample.wav"))
|
169 |
-
gen_text_input = gr.Textbox(label="Text to Generate", lines=10)
|
170 |
generate_btn = gr.Button("Synthesize", variant="primary")
|
171 |
with gr.Accordion("Advanced Settings", open=False):
|
172 |
ref_text_input = gr.Textbox(
|
|
|
166 |
with gr.Blocks() as app_tts:
|
167 |
gr.Markdown("# Batched TTS")
|
168 |
ref_audio_input = gr.Audio(label="Reference Audio", type="filepath", visible=False, value=Path("./sample.wav"))
|
169 |
+
gen_text_input = gr.Textbox(label="Text to Generate", lines=10, value=Path("./sample.txt").read_text())
|
170 |
generate_btn = gr.Button("Synthesize", variant="primary")
|
171 |
with gr.Accordion("Advanced Settings", open=False):
|
172 |
ref_text_input = gr.Textbox(
|