PushkarA07 commited on
Commit
83c7870
1 Parent(s): 257783b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -51,7 +51,6 @@ def speech_synthesize(text,script, speaker_id, length_scale):
51
  audio = net_g_ms.infer(x_tst, x_tst_lengths, sid=sid, noise_scale=0.667, noise_scale_w=0.8, length_scale=length_scale)[0][0,0].data.cpu().float().numpy()
52
  return (hps_ms.data.sampling_rate, audio)
53
 
54
-
55
  def voice_convert(audio,origin_id,target_id):
56
  sampling_rate, audio = audio
57
  audio = (audio / np.iinfo(audio.dtype).max).astype(np.float32)
 
51
  audio = net_g_ms.infer(x_tst, x_tst_lengths, sid=sid, noise_scale=0.667, noise_scale_w=0.8, length_scale=length_scale)[0][0,0].data.cpu().float().numpy()
52
  return (hps_ms.data.sampling_rate, audio)
53
 
 
54
  def voice_convert(audio,origin_id,target_id):
55
  sampling_rate, audio = audio
56
  audio = (audio / np.iinfo(audio.dtype).max).astype(np.float32)