liuhuadai commited on
Commit
42b6dae
1 Parent(s): 2657da5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -128,7 +128,7 @@ def infer(ori_prompt):
128
 
129
  with torch.no_grad():
130
  with model.ema_scope():
131
- wav_name = f'{prompt.strip().replace(" ", "-")}'
132
  generator.gen_test_sample(prompt,wav_name=wav_name)
133
 
134
  print(f"Your samples are ready and waiting four you here: \nresults/test \nEnjoy.")
 
128
 
129
  with torch.no_grad():
130
  with model.ema_scope():
131
+ wav_name = f'{prompt["ori_caption"].strip().replace(" ", "-")}'
132
  generator.gen_test_sample(prompt,wav_name=wav_name)
133
 
134
  print(f"Your samples are ready and waiting four you here: \nresults/test \nEnjoy.")