jonathanjordan21 commited on
Commit
d8decfb
·
verified ·
1 Parent(s): f84282f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -135,11 +135,11 @@ CHOICES = {
135
  '🇬🇧 🚹 Fable': 'bm_fable',
136
  '🇬🇧 🚹 Lewis': 'bm_lewis',
137
  '🇬🇧 🚹 Daniel': 'bm_daniel',
138
- 'Espanol':'es',
139
- 'Hindi':'hi',
140
- 'French':'fr-fr',
141
- 'Italian':'it',
142
- 'Portuguese':'pt-br',
143
  }
144
  for v in CHOICES.values():
145
  pipelines[v[0]].load_voice(v)
@@ -181,7 +181,7 @@ with gr.Blocks() as stream_tab:
181
  BANNER_TEXT = '''
182
  [***Kokoro*** **is an open-weight TTS model with 82 million parameters.**](https://huggingface.co/hexgrad/Kokoro-82M)
183
 
184
- This demo only showcases English, but you can directly use the model to access other languages.
185
  '''
186
  API_OPEN = os.getenv('SPACE_ID') != 'hexgrad/Kokoro-TTS'
187
  API_NAME = None if API_OPEN else False
 
135
  '🇬🇧 🚹 Fable': 'bm_fable',
136
  '🇬🇧 🚹 Lewis': 'bm_lewis',
137
  '🇬🇧 🚹 Daniel': 'bm_daniel',
138
+ 'Espanol':'ef_dora',
139
+ 'Hindi':'hf_alpha',
140
+ 'French':'ff_siwis',
141
+ 'Italian':'if_sara',
142
+ 'Portuguese':'pf_dora',
143
  }
144
  for v in CHOICES.values():
145
  pipelines[v[0]].load_voice(v)
 
181
  BANNER_TEXT = '''
182
  [***Kokoro*** **is an open-weight TTS model with 82 million parameters.**](https://huggingface.co/hexgrad/Kokoro-82M)
183
 
184
+ This demo showcases Indonesian with English accent, but you can use various accents of other languages.
185
  '''
186
  API_OPEN = os.getenv('SPACE_ID') != 'hexgrad/Kokoro-TTS'
187
  API_NAME = None if API_OPEN else False