khof312 commited on
Commit
a0b99ec
1 Parent(s): d7e529b

Update piper to suggest only one model per language for now.

Browse files
Files changed (1) hide show
  1. src/lookups.py +13 -13
src/lookups.py CHANGED
@@ -31,14 +31,14 @@ models = {
31
  'coqui': None,
32
  'espeakng': 'sw',
33
  'toucan': 'Congo Swahili (swc)',
34
- 'piper': [['Swahili', 'csukuangfj/vits-piper-sw_CD-lanfrica-medium']],
35
  },
36
  'ara': {
37
  'mms': 'facebook/mms-tts-ara',
38
  'coqui': None, ################
39
  'espeakng': 'ar',
40
  'toucan': 'Standard Arabic (arb)',
41
- 'piper': [['Arabic','csukuangfj/vits-piper-ar_JO-kareem-low']] # Other variant(s) exist but have been left out
42
  },
43
  'mya': {
44
  'mms': 'facebook/mms-tts-mya',
@@ -52,15 +52,15 @@ models = {
52
  'coqui': None,
53
  'espeakng': 'en',
54
  'toucan': 'English (eng)',
55
- 'piper': [['English', 'csukuangfj/vits-piper-en_US-glados|1 speaker']] # Other variant(s) exist but have been left out
56
  },
57
  'fas':{
58
  'mms': 'facebook/mms-tts-fas',
59
  'coqui': None, #'tts_models/fa/custom/glow-tts',
60
  'espeakng': 'fa',
61
  'toucan': 'Persian (pes)', #'Dari (prs)'
62
- 'piper': [['Persian', 'csukuangfj/vits-piper-fa_IR-amir-medium'],
63
- ['Persian', 'csukuangfj/vits-piper-fa_IR-gyro-medium']],
64
  #'mimic3': ['csukuangfj/vits-mimic3-fa-haaniye_low']
65
  } ,
66
  'fra':{
@@ -68,7 +68,7 @@ models = {
68
  'coqui': 'tts_models/fr/css10/vits', # Sampling rate: 22050 ## k2-fsa: 'csukuangfj/vits-coqui-fr-css10'
69
  'espeakng': 'fr',
70
  'toucan': 'French (fra)',
71
- 'piper': [['French', 'csukuangfj/vits-piper-fr_FR-upmc-medium']] # Other variant(s) exist but have been left out
72
  },
73
  'kmr': {
74
  'mms': 'facebook/mms-tts-kmr-script_arabic',
@@ -97,15 +97,15 @@ models = {
97
  'coqui': 'tts_models/pt/cv/vits', # Sampling rate: 22050
98
  'espeakng': 'pt-br',
99
  'toucan': 'Brazilian Portuguese (pt-br)',
100
- 'piper': [['Portuguese', 'csukuangfj/vits-piper-pt_BR-edresson-low'],
101
- ['Portuguese', 'csukuangfj/csukuangfj/vits-piper-pt_BR-faber-medium']]
102
  },
103
  'ron':{
104
  'mms': 'facebook/mms-tts-ron',
105
  'coqui': 'tts_models/ro/cv/vits', # Sampling rate: 22050 # csukuangfj/vits-coqui-ro-cv
106
  'espeakng': 'ro',
107
  'toucan': 'Romanian (ron)',
108
- 'piper': [['Romanian', 'csukuangfj/vits-piper-ro_RO-mihai-medium']]
109
  },
110
  'run':{
111
  'mms': 'facebook/mms-tts-run',
@@ -119,28 +119,28 @@ models = {
119
  'coqui': None,
120
  'espeakng': 'ru',
121
  'toucan': 'Russian (rus)',
122
- 'piper': [['Russian', 'csukuangfj/vits-piper-ru_RU-irina-medium']] # Other variant(s) exist but have been left out
123
  } ,
124
  'spa':{
125
  'mms': 'facebook/mms-tts-spa',
126
  'coqui': 'tts_models/es/css10/vits', # Sampling rate: 22050
127
  'espeakng': 'es-419',
128
  'toucan': 'Spanish (spa)',
129
- 'piper': [['Spanish', 'csukuangfj/vits-piper-es-glados-medium']] # Other variant(s) exist but have been left out
130
  },
131
  'tur': {
132
  'mms': 'facebook/mms-tts-tur',
133
  'coqui': None, ################
134
  'espeakng': 'tr',
135
  'toucan': 'Turkish (tur)',
136
- 'piper': [['Turkish', 'csukuangfj/vits-piper-tr_TR-dfki-medium']] # Other variant(s) exist but have been left out
137
  },
138
  'ukr': {
139
  'mms': 'facebook/mms-tts-ukr',
140
  'coqui': None, ################
141
  'espeakng': 'uk',
142
  'toucan': 'Ukrainian (ukr)',
143
- 'piper': [['Ukrainian', 'csukuangfj/vits-piper-uk_UA-lada-x_low']] # Other variant(s) exist but have been left out
144
  },
145
  'urd': {
146
  'mms': 'facebook/mms-tts-urd-script_arabic',
 
31
  'coqui': None,
32
  'espeakng': 'sw',
33
  'toucan': 'Congo Swahili (swc)',
34
+ 'piper': ['Swahili', 'csukuangfj/vits-piper-sw_CD-lanfrica-medium'],
35
  },
36
  'ara': {
37
  'mms': 'facebook/mms-tts-ara',
38
  'coqui': None, ################
39
  'espeakng': 'ar',
40
  'toucan': 'Standard Arabic (arb)',
41
+ 'piper': ['Arabic','csukuangfj/vits-piper-ar_JO-kareem-low'] # Other variant(s) exist but have been left out
42
  },
43
  'mya': {
44
  'mms': 'facebook/mms-tts-mya',
 
52
  'coqui': None,
53
  'espeakng': 'en',
54
  'toucan': 'English (eng)',
55
+ 'piper': ['English', 'csukuangfj/vits-piper-en_US-glados|1 speaker'] # Other variant(s) exist but have been left out
56
  },
57
  'fas':{
58
  'mms': 'facebook/mms-tts-fas',
59
  'coqui': None, #'tts_models/fa/custom/glow-tts',
60
  'espeakng': 'fa',
61
  'toucan': 'Persian (pes)', #'Dari (prs)'
62
+ 'piper': ['Persian', 'csukuangfj/vits-piper-fa_IR-amir-medium'],
63
+ #['Persian', 'csukuangfj/vits-piper-fa_IR-gyro-medium']],
64
  #'mimic3': ['csukuangfj/vits-mimic3-fa-haaniye_low']
65
  } ,
66
  'fra':{
 
68
  'coqui': 'tts_models/fr/css10/vits', # Sampling rate: 22050 ## k2-fsa: 'csukuangfj/vits-coqui-fr-css10'
69
  'espeakng': 'fr',
70
  'toucan': 'French (fra)',
71
+ 'piper': ['French', 'csukuangfj/vits-piper-fr_FR-upmc-medium'] # Other variant(s) exist but have been left out
72
  },
73
  'kmr': {
74
  'mms': 'facebook/mms-tts-kmr-script_arabic',
 
97
  'coqui': 'tts_models/pt/cv/vits', # Sampling rate: 22050
98
  'espeakng': 'pt-br',
99
  'toucan': 'Brazilian Portuguese (pt-br)',
100
+ 'piper': ['Portuguese', 'csukuangfj/vits-piper-pt_BR-edresson-low'],
101
+ ['Portuguese', 'csukuangfj/csukuangfj/vits-piper-pt_BR-faber-medium']
102
  },
103
  'ron':{
104
  'mms': 'facebook/mms-tts-ron',
105
  'coqui': 'tts_models/ro/cv/vits', # Sampling rate: 22050 # csukuangfj/vits-coqui-ro-cv
106
  'espeakng': 'ro',
107
  'toucan': 'Romanian (ron)',
108
+ 'piper': ['Romanian', 'csukuangfj/vits-piper-ro_RO-mihai-medium']
109
  },
110
  'run':{
111
  'mms': 'facebook/mms-tts-run',
 
119
  'coqui': None,
120
  'espeakng': 'ru',
121
  'toucan': 'Russian (rus)',
122
+ 'piper': ['Russian', 'csukuangfj/vits-piper-ru_RU-irina-medium'] # Other variant(s) exist but have been left out
123
  } ,
124
  'spa':{
125
  'mms': 'facebook/mms-tts-spa',
126
  'coqui': 'tts_models/es/css10/vits', # Sampling rate: 22050
127
  'espeakng': 'es-419',
128
  'toucan': 'Spanish (spa)',
129
+ 'piper': ['Spanish', 'csukuangfj/vits-piper-es-glados-medium'] # Other variant(s) exist but have been left out
130
  },
131
  'tur': {
132
  'mms': 'facebook/mms-tts-tur',
133
  'coqui': None, ################
134
  'espeakng': 'tr',
135
  'toucan': 'Turkish (tur)',
136
+ 'piper': ['Turkish', 'csukuangfj/vits-piper-tr_TR-dfki-medium'] # Other variant(s) exist but have been left out
137
  },
138
  'ukr': {
139
  'mms': 'facebook/mms-tts-ukr',
140
  'coqui': None, ################
141
  'espeakng': 'uk',
142
  'toucan': 'Ukrainian (ukr)',
143
+ 'piper': ['Ukrainian', 'csukuangfj/vits-piper-uk_UA-lada-x_low'] # Other variant(s) exist but have been left out
144
  },
145
  'urd': {
146
  'mms': 'facebook/mms-tts-urd-script_arabic',