Spaces:
Runtime error
Runtime error
Commit
·
6ebc715
1
Parent(s):
2e94ddc
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,22 +21,19 @@ def main():
|
|
| 21 |
with gr.Blocks() as demo:
|
| 22 |
gr.Markdown(
|
| 23 |
"""
|
| 24 |
-
<h1 align="center">
|
| 25 |
|
| 26 |
1. Write an utterance to generate,
|
| 27 |
2. Select the model to synthesize with
|
| 28 |
-
3. Select speaker
|
| 29 |
4. Hit "Generate" and listen to the result!
|
| 30 |
|
| 31 |
-
When you select
|
| 32 |
it will take a little time to download it.
|
| 33 |
-
You can learn more about models available
|
| 34 |
-
[here](https://huggingface.co/balacoon/tts).
|
| 35 |
-
Visit [Balacoon website](https://balacoon.com/) for more info.
|
| 36 |
"""
|
| 37 |
)
|
| 38 |
with gr.Row(variant="panel"):
|
| 39 |
-
text = gr.Textbox(label="Text", placeholder="
|
| 40 |
|
| 41 |
with gr.Row():
|
| 42 |
with gr.Column(variant="panel"):
|
|
|
|
| 21 |
with gr.Blocks() as demo:
|
| 22 |
gr.Markdown(
|
| 23 |
"""
|
| 24 |
+
<h1 align="center">Text-to-Speech</h1>
|
| 25 |
|
| 26 |
1. Write an utterance to generate,
|
| 27 |
2. Select the model to synthesize with
|
| 28 |
+
3. Select the speaker
|
| 29 |
4. Hit "Generate" and listen to the result!
|
| 30 |
|
| 31 |
+
When you select a Model for the first time,
|
| 32 |
it will take a little time to download it.
|
|
|
|
|
|
|
|
|
|
| 33 |
"""
|
| 34 |
)
|
| 35 |
with gr.Row(variant="panel"):
|
| 36 |
+
text = gr.Textbox(label="Text", placeholder="Insert your article here...")
|
| 37 |
|
| 38 |
with gr.Row():
|
| 39 |
with gr.Column(variant="panel"):
|