hexgrad commited on
Commit
a6d6b01
·
verified ·
1 Parent(s): d973331

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -147,11 +147,16 @@ with gr.Blocks() as stream_tab:
147
  gr.Markdown(STREAM_NOTE)
148
  gr.DuplicateButton()
149
 
 
 
 
 
 
150
  API_OPEN = os.getenv('SPACE_ID') != 'hexgrad/Kokoro-TTS'
151
  API_NAME = None if API_OPEN else False
152
  with gr.Blocks() as app:
153
  with gr.Row():
154
- gr.Markdown('[***Kokoro*** **is an open-weight TTS model with 82 million parameters.**](https://hf.co/hexgrad/Kokoro-82M)', container=True)
155
  with gr.Row():
156
  with gr.Column():
157
  text = gr.Textbox(label='Input Text', info=f"Up to ~500 characters per Generate, or {'∞' if CHAR_LIMIT is None else CHAR_LIMIT} characters per Stream")
 
147
  gr.Markdown(STREAM_NOTE)
148
  gr.DuplicateButton()
149
 
150
+ BANNER_TEXT = '''
151
+ [***Kokoro*** **is an open-weight TTS model with 82 million parameters.**](https://hf.co/hexgrad/Kokoro-82M)
152
+
153
+ This demo only showcases English, but you can directly use the model to access other languages.
154
+ '''
155
  API_OPEN = os.getenv('SPACE_ID') != 'hexgrad/Kokoro-TTS'
156
  API_NAME = None if API_OPEN else False
157
  with gr.Blocks() as app:
158
  with gr.Row():
159
+ gr.Markdown(BANNER_TEXT, container=True)
160
  with gr.Row():
161
  with gr.Column():
162
  text = gr.Textbox(label='Input Text', info=f"Up to ~500 characters per Generate, or {'∞' if CHAR_LIMIT is None else CHAR_LIMIT} characters per Stream")