-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbenchmark_rtf_de.py
22 lines (19 loc) · 1010 Bytes
/
benchmark_rtf_de.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from benchmark_rtf import benchmark_rtf
if __name__ == "__main__":
from ovos_tts_plugin_espeakng import EspeakNGTTS
from ovos_tts_plugin_google_tx import GoogleTranslateTTS
from ovos_tts_plugin_pico import PicoTTS
from ovos_tts_plugin_coqui import CoquiTTSPlugin
# Define plugins
LANG = "de-de"
PLUGINS = [
# ("plugin_name", TTS_plugin_instance, voice, langs)
("ovos-tts-plugin-coqui", CoquiTTSPlugin(lang=LANG, config={
"model": 'tts_models/de/thorsten/vits'}), 'tts_models/de/thorsten/vits', [LANG]),
("ovos-tts-plugin-coqui", CoquiTTSPlugin(lang=LANG, config={
"model": 'tts_models/de/thorsten/vits--neon'}), 'tts_models/de/thorsten/vits--neon', [LANG]),
("ovos-tts-plugin-pico", PicoTTS(config={}), "pico", [LANG]),
("ovos-tts-plugin-google-tx", GoogleTranslateTTS(config={}), "google", [LANG]),
("ovos-tts-plugin-espeak", EspeakNGTTS(config={}), "robot", [LANG])
]
benchmark_rtf(LANG, PLUGINS)