Skip to content

Commit

Permalink
move ui data to "meta" (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Oct 24, 2022
1 parent dd4a3d0 commit e4e53b1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ovos_tts_plugin_mimic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,17 @@ def get_tts_class(self):

MimicTTSPluginConfig = {
"en-gb": [
{"voice": "ap", "gender": "male", "display_name": "Alan Pope", "offline": True, "priority": 50}
{"voice": "ap", "meta": {"gender": "male", "display_name": "Alan Pope", "offline": True, "priority": 50}}
],
"en-us": [
{"voice": "slt", "gender": "female", "display_name": "slt", "offline": True, "priority": 70},
{"voice": "kal", "gender": "male", "display_name": "kal", "offline": True, "priority": 70},
{"voice": "awb", "gender": "male", "display_name": "awb", "offline": True, "priority": 70},
{"voice": "rms", "gender": "male", "display_name": "rms", "offline": True, "priority": 70}
{"voice": "slt", "meta": {"gender": "female", "display_name": "slt", "offline": True, "priority": 70}},
{"voice": "kal", "meta": {"gender": "male", "display_name": "kal", "offline": True, "priority": 70}},
{"voice": "awb", "meta": {"gender": "male", "display_name": "awb", "offline": True, "priority": 70}},
{"voice": "rms", "meta": {"gender": "male", "display_name": "rms", "offline": True, "priority": 70}}
]
}

if MimicTTSPlugin.find_premium_mimic():
MimicTTSPluginConfig["en-us"].append(
{"voice": "trinity", "gender": "female", "display_name": "Trinity", "offline": True, "priority": 50}
{"voice": "trinity", "meta": {"gender": "female", "display_name": "Trinity", "offline": True, "priority": 50}}
)

0 comments on commit e4e53b1

Please sign in to comment.