From 2b1c96256751c6a1d6db4e88e471de02b38bcf62 Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Mon, 24 Oct 2022 03:01:36 +0100 Subject: [PATCH] move ui data to "meta" (#7) --- ovos_tts_plugin_pico/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ovos_tts_plugin_pico/__init__.py b/ovos_tts_plugin_pico/__init__.py index b6e236d..edb2ba2 100755 --- a/ovos_tts_plugin_pico/__init__.py +++ b/ovos_tts_plugin_pico/__init__.py @@ -1,6 +1,7 @@ import subprocess import wave from distutils.spawn import find_executable + from ovos_plugin_manager.templates.tts import TTS, TTSValidator @@ -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"] }