alibabasglab commited on
Commit
3bc6139
·
verified ·
1 Parent(s): bc3d04f

Update networks.py

Browse files
Files changed (1) hide show
  1. networks.py +2 -1
networks.py CHANGED
@@ -252,7 +252,8 @@ class SpeechModel:
252
  # for spk in range(self.args.num_spks):
253
  # output_audio[spk] = output_audio[spk] * scalar
254
  #else:
255
- if not isinstance(output_audio, list):
 
256
  output_audio = output_audio * scalar
257
 
258
  if online_write:
 
252
  # for spk in range(self.args.num_spks):
253
  # output_audio[spk] = output_audio[spk] * scalar
254
  #else:
255
+ #if not isinstance(output_audio, list):
256
+ if args.network == 'FRCRN_SE_16K':
257
  output_audio = output_audio * scalar
258
 
259
  if online_write: