Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,6 @@ def inference(re_im, session, onnx_model, input_names, output_names):
|
|
61 |
output_audio = torch.tensor(np.concatenate(output_audio, 0))
|
62 |
output_audio = output_audio.permute(1, 0, 2).contiguous()
|
63 |
output_audio = torch.view_as_complex(output_audio)
|
64 |
-
output_audio = output_audio.float16()
|
65 |
output_audio = torch.istft(output_audio, window, stride, window=hann)
|
66 |
return output_audio.numpy()
|
67 |
|
|
|
61 |
output_audio = torch.tensor(np.concatenate(output_audio, 0))
|
62 |
output_audio = output_audio.permute(1, 0, 2).contiguous()
|
63 |
output_audio = torch.view_as_complex(output_audio)
|
|
|
64 |
output_audio = torch.istft(output_audio, window, stride, window=hann)
|
65 |
return output_audio.numpy()
|
66 |
|