Skip to content

Commit

Permalink
move ui data to "meta" (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Oct 24, 2022
1 parent eb2a588 commit 2b1c962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ovos_tts_plugin_pico/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import subprocess
import wave
from distutils.spawn import find_executable

from ovos_plugin_manager.templates.tts import TTS, TTSValidator


Expand Down Expand Up @@ -108,8 +109,7 @@ def get_tts_class(self):

PicoTTSPluginConfig = {
lang: [
{"voice": "default", "gender": "female", "lang": lang,
"display_name": f"Pico ({lang})", "offline": True, "priority": 60}
{"lang": lang, "meta": {"gender": "female", "display_name": f"Pico ({lang})", "offline": True, "priority": 60}}
] for lang in ["de", "es", "fr", "en", "it"]
}

Expand Down

0 comments on commit 2b1c962

Please sign in to comment.