Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -314,16 +314,17 @@ with app:
|
|
314 |
step=10,
|
315 |
interactive=True,
|
316 |
)
|
|
|
317 |
tts_text = gr.Textbox(label="Input Text", value="これは日本語テキストから音声への変換デモです。")
|
318 |
with gr.Column():
|
319 |
but0 = gr.Button("Convert", variant="primary")
|
320 |
info_text = gr.Textbox(label="Output info")
|
321 |
with gr.Column():
|
322 |
edge_tts_output = gr.Audio(label="Edge Voice", type="filepath")
|
|
|
323 |
tts_output = gr.Audio(label="Result")
|
324 |
|
325 |
-
|
326 |
-
text_output = gr.Textbox()
|
327 |
but0.click(
|
328 |
tts,
|
329 |
[
|
@@ -336,7 +337,7 @@ with app:
|
|
336 |
index_rate,
|
337 |
protect0,
|
338 |
],
|
339 |
-
[info_text, edge_tts_output, tts_output
|
340 |
)
|
341 |
with gr.Row():
|
342 |
examples = gr.Examples(
|
|
|
314 |
step=10,
|
315 |
interactive=True,
|
316 |
)
|
317 |
+
with gr.Column():
|
318 |
tts_text = gr.Textbox(label="Input Text", value="これは日本語テキストから音声への変換デモです。")
|
319 |
with gr.Column():
|
320 |
but0 = gr.Button("Convert", variant="primary")
|
321 |
info_text = gr.Textbox(label="Output info")
|
322 |
with gr.Column():
|
323 |
edge_tts_output = gr.Audio(label="Edge Voice", type="filepath")
|
324 |
+
with gr.Column():
|
325 |
tts_output = gr.Audio(label="Result")
|
326 |
|
327 |
+
|
|
|
328 |
but0.click(
|
329 |
tts,
|
330 |
[
|
|
|
337 |
index_rate,
|
338 |
protect0,
|
339 |
],
|
340 |
+
[info_text, edge_tts_output, tts_output],
|
341 |
)
|
342 |
with gr.Row():
|
343 |
examples = gr.Examples(
|