Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Stardust-minus authored Oct 12, 2023
2 parents 09e8146 + e3ce4d5 commit c087f82
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
device = "cuda"



def tts_fn(
text, speaker, sdp_ratio, noise_scale, noise_scale_w, length_scale, language
):
Expand All @@ -48,11 +49,6 @@ def tts_fn(
length_scale=length_scale,
sid=speaker,
language=language,
sid=speaker,
language=language,
hps=hps,
net_g=net_g,
device=device,
)
audio_list.append(audio)
silence = np.zeros(hps.data.sampling_rate) # 生成1秒的静音
Expand Down

0 comments on commit c087f82

Please sign in to comment.