osanseviero commited on
Commit
b7d4e28
1 Parent(s): d8a4d7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -40,9 +40,11 @@ preset = "ultra_fast"
40
  def inference(text, voice):
41
  cond_paths = voice_paths[voice]
42
  conds = []
 
43
  for cond_path in cond_paths:
44
  c = load_audio(cond_path, 22050)
45
  conds.append(c)
 
46
  gen = tts.tts_with_preset(text, conds, preset)
47
  return gen
48
 
 
40
  def inference(text, voice):
41
  cond_paths = voice_paths[voice]
42
  conds = []
43
+ print(voice_paths, voice, cond_paths)
44
  for cond_path in cond_paths:
45
  c = load_audio(cond_path, 22050)
46
  conds.append(c)
47
+ print(text, conds, preset)
48
  gen = tts.tts_with_preset(text, conds, preset)
49
  return gen
50