wetdog commited on
Commit
f8551d1
1 Parent(s): fcecac1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -1
README.md CHANGED
@@ -146,10 +146,39 @@ python3 matcha_vocos_inference.py --output_path=/output/path --text_input="Bon d
146
  | valencia | lluc | 6 |
147
  | valencia | gina | 7 |
148
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
 
150
  #### ONNX
151
 
152
- We also release ONNXs version of the models
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
 
154
  ### For Training
155
 
 
146
  | valencia | lluc | 6 |
147
  | valencia | gina | 7 |
148
 
149
+ Be aware that depending on the accent you should choose the proper text cleaner as an argument, by default it uses the catalan central cleaner.
150
+
151
+ ```bash
152
+ python3 matcha_vocos_inference.py --output_path=/output/path --text_input="Bon dia Manel, avui anem a la muntanya." --length_scale=0.8 --temperature=0.7 --speaker_id 0 --cleaner "catalan_balear_cleaners"
153
+
154
+ ```
155
+
156
+ | accent | cleaner |
157
+ |-----------------|---------------------------|
158
+ | balear | catalan_balear_cleaners |
159
+ | central | catalan_cleaners(default) |
160
+ | nord-occidental | catalan_occidental_cleaners|
161
+ | valencia | catalan_valencia_cleaners |
162
+
163
 
164
  #### ONNX
165
 
166
+ We also release ONNXs version of the models, you can use it via the OVOS plugins.
167
+ Just install the plugin from pypi.
168
+
169
+ ```bash
170
+ pip install ovos-tts-plugin-matxa-multispeaker-cat
171
+ ```
172
+
173
+ and synthesize
174
+
175
+ ```python
176
+ from ovos_tts_plugin_matxa_multispeaker_cat import MatxaCatalanTTSPlugin
177
+
178
+ sent = "Això és una prova de síntesi de veu."
179
+ tts = MatxaCatalanTTSPlugin()
180
+ tts.get_tts(sent, "test.wav", voice="valencia/gina")
181
+ ```
182
 
183
  ### For Training
184