XDHDD commited on
Commit
212f070
1 Parent(s): e8ffed6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ lossy_input = lossy_input.reshape(-1)
138
  hann = torch.sqrt(torch.hann_window(window))
139
  lossy_input_tensor = torch.tensor(lossy_input)
140
  re_im = torch.stft(lossy_input_tensor, window, stride, window=hann, return_complex=False).permute(1, 0, 2).unsqueeze(
141
- 1).numpy().astype(np.float32)
142
 
143
 
144
  session, onnx_model, input_names, output_names = load_model(model_ver)
 
138
  hann = torch.sqrt(torch.hann_window(window))
139
  lossy_input_tensor = torch.tensor(lossy_input)
140
  re_im = torch.stft(lossy_input_tensor, window, stride, window=hann, return_complex=False).permute(1, 0, 2).unsqueeze(
141
+ 1).numpy().astype(np.float16)
142
 
143
 
144
  session, onnx_model, input_names, output_names = load_model(model_ver)