Update app.py
Browse files
app.py
CHANGED
|
@@ -169,6 +169,12 @@ with gr.Blocks() as translator_tab:
|
|
| 169 |
trans_out_tokens = gr.Textbox(interactive=False, show_label=False, info='Tokens used to generate the translated audio')
|
| 170 |
translate_btn = gr.Button('Translate & Generate Audio', variant='primary')
|
| 171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 172 |
# Main app with text input field that is accessible globally
|
| 173 |
with gr.Blocks() as app:
|
| 174 |
with gr.Row():
|
|
|
|
| 169 |
trans_out_tokens = gr.Textbox(interactive=False, show_label=False, info='Tokens used to generate the translated audio')
|
| 170 |
translate_btn = gr.Button('Translate & Generate Audio', variant='primary')
|
| 171 |
|
| 172 |
+
BANNER_TEXT = '''
|
| 173 |
+
[***Kokoro*** **is an open-weight TTS model with 82 million parameters.**](https://huggingface.co/hexgrad/Kokoro-82M)
|
| 174 |
+
As of January 31st, 2025, Kokoro was the most-liked [**TTS model**](https://huggingface.co/models?pipeline_tag=text-to-speech&sort=likes) and the most-liked [**TTS space**](https://huggingface.co/spaces?sort=likes&search=tts) on Hugging Face.
|
| 175 |
+
This demo only showcases English, but you can directly use the model to access other languages.
|
| 176 |
+
'''
|
| 177 |
+
|
| 178 |
# Main app with text input field that is accessible globally
|
| 179 |
with gr.Blocks() as app:
|
| 180 |
with gr.Row():
|