Pendrokar commited on
Commit
e4825c2
1 Parent(s): d36b523

replaced Parler Mini with main

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -55,7 +55,7 @@ AVAILABLE_MODELS = {
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
@@ -135,6 +135,13 @@ HF_SPACES = {
135
  'return_audio_index': 0,
136
  },
137
 
 
 
 
 
 
 
 
138
  # Parler
139
  'parler-tts/parler_tts_mini': {
140
  'name': 'parler-tts/parler_tts_mini',
@@ -221,6 +228,12 @@ OVERRIDE_INPUTS = {
221
  2: 1,
222
  3: 'EN', # language
223
  },
 
 
 
 
 
 
224
  }
225
 
226
  SPACE_ID = os.getenv('SPACE_ID')
 
55
  'LeeSangHoon/HierSpeech_TTS': 'LeeSangHoon/HierSpeech_TTS',
56
 
57
  # Parler
58
+ 'parler-tts/parler_tts': 'parler-tts/parler_tts',
59
  'parler-tts/parler-tts-expresso': 'parler-tts/parler-tts-expresso',
60
 
61
  # TTS w issues
 
135
  'return_audio_index': 0,
136
  },
137
 
138
+ # Parler
139
+ 'parler-tts/parler_tts': {
140
+ 'name': 'parler-tts/parler_tts',
141
+ 'function': '/gen_tts',
142
+ 'text_param_index': 0,
143
+ 'return_audio_index': 0,
144
+ },
145
  # Parler
146
  'parler-tts/parler_tts_mini': {
147
  'name': 'parler-tts/parler_tts_mini',
 
228
  2: 1,
229
  3: 'EN', # language
230
  },
231
+ 'parler-tts/parler_tts': {
232
+ 1: 'Laura's voice is monotone yet slightly fast in delivery, with a very close recording that almost has no background noise.', # description/prompt
233
+ },
234
+ 'parler-tts/parler-tts-expresso': {
235
+ 1: 'Laura's voice is monotone yet slightly fast in delivery, with a very close recording that almost has no background noise.', # description/prompt
236
+ },
237
  }
238
 
239
  SPACE_ID = os.getenv('SPACE_ID')