Spaces:
Running
Running
Cambio distribución bloques
Browse files
app.py
CHANGED
@@ -59,14 +59,11 @@ title = """<h1 align="center">🐸💬 CoquiTTS Demo Proxecto Nós </h1>"""
|
|
59 |
|
60 |
with gr.Blocks(analytics_enabled=False) as demo:
|
61 |
with gr.Column():
|
62 |
-
|
63 |
-
gr.Markdown(
|
64 |
"""
|
65 |
## <img src="https://huggingface.co/spaces/proxectonos/README/resolve/main/title-card.png" width="100%" style="border-radius: 0.75rem;">
|
66 |
"""
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
with gr.Column():
|
71 |
with gr.Row():
|
72 |
gr.Markdown(
|
@@ -78,18 +75,21 @@ with gr.Blocks(analytics_enabled=False) as demo:
|
|
78 |
<br/>
|
79 |
"""
|
80 |
)
|
|
|
81 |
input_text = gr.Textbox(
|
82 |
label="Input Text",
|
83 |
value="This sentence has been generated by a speech synthesis system.",
|
84 |
)
|
|
|
85 |
model_select = gr.Dropdown(
|
86 |
label="Pick Model: tts_models/<language>/<dataset>/<model_name>",
|
87 |
choices=MODEL_NAMES,
|
88 |
value="tts_models/en/jenny/jenny"
|
89 |
)
|
|
|
90 |
tts_button = gr.Button("Send", elem_id="send-btn", visible=True)
|
91 |
|
92 |
-
with gr.
|
93 |
output_audio = gr.Audio(label="Output", type="filepath")
|
94 |
|
95 |
tts_button.click(
|
|
|
59 |
|
60 |
with gr.Blocks(analytics_enabled=False) as demo:
|
61 |
with gr.Column():
|
62 |
+
gr.Markdown(
|
|
|
63 |
"""
|
64 |
## <img src="https://huggingface.co/spaces/proxectonos/README/resolve/main/title-card.png" width="100%" style="border-radius: 0.75rem;">
|
65 |
"""
|
66 |
+
)
|
|
|
|
|
67 |
with gr.Column():
|
68 |
with gr.Row():
|
69 |
gr.Markdown(
|
|
|
75 |
<br/>
|
76 |
"""
|
77 |
)
|
78 |
+
with gr.Row():
|
79 |
input_text = gr.Textbox(
|
80 |
label="Input Text",
|
81 |
value="This sentence has been generated by a speech synthesis system.",
|
82 |
)
|
83 |
+
with gr.Row():
|
84 |
model_select = gr.Dropdown(
|
85 |
label="Pick Model: tts_models/<language>/<dataset>/<model_name>",
|
86 |
choices=MODEL_NAMES,
|
87 |
value="tts_models/en/jenny/jenny"
|
88 |
)
|
89 |
+
with gr.Row():
|
90 |
tts_button = gr.Button("Send", elem_id="send-btn", visible=True)
|
91 |
|
92 |
+
with gr.Row():
|
93 |
output_audio = gr.Audio(label="Output", type="filepath")
|
94 |
|
95 |
tts_button.click(
|