Spaces:
Running
Running
Cambio app.py
Browse files
app.py
CHANGED
@@ -70,20 +70,20 @@ with gr.Blocks(analytics_enabled=False) as demo:
|
|
70 |
)
|
71 |
with gr.Row():
|
72 |
input_text = gr.Textbox(
|
73 |
-
label="
|
74 |
-
value="
|
75 |
)
|
76 |
with gr.Row():
|
77 |
model_select = gr.Dropdown(
|
78 |
-
label="
|
79 |
choices=MODEL_NAMES,
|
80 |
-
value="
|
81 |
)
|
82 |
with gr.Row():
|
83 |
-
tts_button = gr.Button("
|
84 |
|
85 |
with gr.Row():
|
86 |
-
output_audio = gr.Audio(label="
|
87 |
|
88 |
tts_button.click(
|
89 |
tts,
|
|
|
70 |
)
|
71 |
with gr.Row():
|
72 |
input_text = gr.Textbox(
|
73 |
+
label="Texto de entrada",
|
74 |
+
value="Probando unha frase nova.",
|
75 |
)
|
76 |
with gr.Row():
|
77 |
model_select = gr.Dropdown(
|
78 |
+
label="Escolle un modelo:",
|
79 |
choices=MODEL_NAMES,
|
80 |
+
value="Celtia"
|
81 |
)
|
82 |
with gr.Row():
|
83 |
+
tts_button = gr.Button("Enviar", elem_id="send-btn", visible=True)
|
84 |
|
85 |
with gr.Row():
|
86 |
+
output_audio = gr.Audio(label="Saída", type="filepath")
|
87 |
|
88 |
tts_button.click(
|
89 |
tts,
|