Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -127,29 +127,18 @@ def ljspeech_example_cacher(text, n_timesteps, mel_temp, length_scale, spk=-1):
|
|
127 |
|
128 |
|
129 |
def main():
|
130 |
-
description = """# AkylAI TTS mini
|
131 |
-
We present to you a fast speech synthesis model in the Kyrgyz language.
|
132 |
-
|
133 |
-
|
134 |
-
This is a new approach to non-autoregressive neural TTS that uses conditional stream matching (similar to rectified streams) to speed up ODE-based speech synthesis.
|
135 |
-
Method:
|
136 |
-
|
137 |
-
* Is probabilistic
|
138 |
-
* Has compact memory footprint
|
139 |
-
* Sounds highly natural
|
140 |
-
* Is very fast to synthesise from
|
141 |
-
|
142 |
-
"""
|
143 |
|
144 |
with gr.Blocks(title="AkylAI TTS") as demo:
|
145 |
processed_text = gr.State(value=None)
|
146 |
processed_text_len = gr.State(value=None)
|
147 |
|
148 |
with gr.Box():
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
|
|
153 |
|
154 |
with gr.Box():
|
155 |
radio_options = list(RADIO_OPTIONS.keys())
|
|
|
127 |
|
128 |
|
129 |
def main():
|
130 |
+
description = """# AkylAI TTS mini"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
|
132 |
with gr.Blocks(title="AkylAI TTS") as demo:
|
133 |
processed_text = gr.State(value=None)
|
134 |
processed_text_len = gr.State(value=None)
|
135 |
|
136 |
with gr.Box():
|
137 |
+
with gr.Row():
|
138 |
+
gr.Markdown(description, scale=3)
|
139 |
+
with gr.Row():
|
140 |
+
image_url = "https://github.com/simonlobgromov/Matcha-TTS/blob/main/photo_2024-04-07_15-59-52.png?raw=true"
|
141 |
+
gr.Image(image_url, label="Matcha-TTS logo", width=560, height=315)
|
142 |
|
143 |
with gr.Box():
|
144 |
radio_options = list(RADIO_OPTIONS.keys())
|