Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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.")
|