Update app.py
Browse files
app.py
CHANGED
@@ -156,8 +156,7 @@ def tse(gt_file_input, text_input, num_infer_steps, eta, seed, guidance_scale, g
|
|
156 |
|
157 |
|
158 |
pred = sample_diffusion(mixture, timbre, num_infer_steps, eta, seed, guidance_scale, guidance_rescale)
|
159 |
-
|
160 |
-
return sample_rate, mixture
|
161 |
|
162 |
|
163 |
# CSS styling (optional)
|
|
|
156 |
|
157 |
|
158 |
pred = sample_diffusion(mixture, timbre, num_infer_steps, eta, seed, guidance_scale, guidance_rescale)
|
159 |
+
return sample_rate, pred.squeeze().cpu().numpy()
|
|
|
160 |
|
161 |
|
162 |
# CSS styling (optional)
|