Pendrokar commited on
Commit
9464b47
1 Parent(s): 234e026

Added two Parler TTS model HF Spaces

Browse files
Files changed (1) hide show
  1. app.py +20 -0
app.py CHANGED
@@ -54,6 +54,10 @@ AVAILABLE_MODELS = {
54
  # 'coqui/CoquiTTS': 'coqui/CoquiTTS',
55
  'LeeSangHoon/HierSpeech_TTS': 'LeeSangHoon/HierSpeech_TTS',
56
 
 
 
 
 
57
  # TTS w issues
58
  # 'PolyAI/pheme': '/predict#0', # sleepy HF Space
59
  # 'amphion/Text-to-Speech': '/predict#0', # old running space, takes a whole minute to synthesize
@@ -131,6 +135,22 @@ HF_SPACES = {
131
  'return_audio_index': 0,
132
  },
133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  # TTS w issues
135
  # 'PolyAI/pheme': '/predict#0', #sleepy HF Space
136
  # 'amphion/Text-to-Speech': '/predict#0', #takes a whole minute to synthesize
 
54
  # 'coqui/CoquiTTS': 'coqui/CoquiTTS',
55
  'LeeSangHoon/HierSpeech_TTS': 'LeeSangHoon/HierSpeech_TTS',
56
 
57
+ # Parler
58
+ 'parler-tts/parler_tts_mini': 'parler-tts/parler_tts_mini',
59
+ 'parler-tts/parler-tts-expresso': 'parler-tts/parler-tts-expresso',
60
+
61
  # TTS w issues
62
  # 'PolyAI/pheme': '/predict#0', # sleepy HF Space
63
  # 'amphion/Text-to-Speech': '/predict#0', # old running space, takes a whole minute to synthesize
 
135
  'return_audio_index': 0,
136
  },
137
 
138
+ # Parler
139
+ 'parler-tts/parler_tts_mini': {
140
+ 'name': 'parler-tts/parler_tts_mini',
141
+ 'function': '/gen_tts',
142
+ 'text_param_index': 0,
143
+ 'return_audio_index': 0,
144
+ },
145
+ # Parler, using Expresso dataset
146
+ 'parler-tts/parler-tts-expresso': {
147
+ 'name': 'parler-tts/parler-tts-expresso',
148
+ 'function': '/gen_tts',
149
+ 'text_param_index': 0,
150
+ 'return_audio_index': 0,
151
+ },
152
+
153
+
154
  # TTS w issues
155
  # 'PolyAI/pheme': '/predict#0', #sleepy HF Space
156
  # 'amphion/Text-to-Speech': '/predict#0', #takes a whole minute to synthesize