Skip to content

Commit 250b1c7

Browse files
authored
fix 24k to 48k inference
1 parent 060a0d9 commit 250b1c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GPT_SoVITS/inference_webui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def audio_sr(audio,sr):
503503
sr_model=AP_BWE(device)
504504
except FileNotFoundError:
505505
gr.Warning(i18n("你没有下载超分模型的参数,因此不进行超分。如想超分请先参照教程把文件下载好"))
506-
return audio,sr
506+
return audio.cpu().detach().numpy(),sr
507507
return sr_model(audio,sr)
508508

509509

0 commit comments

Comments
 (0)