mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
fix 24k to 48k inference
This commit is contained in:
parent
060a0d91dc
commit
250b1c73cb
@ -503,7 +503,7 @@ def audio_sr(audio,sr):
|
||||
sr_model=AP_BWE(device)
|
||||
except FileNotFoundError:
|
||||
gr.Warning(i18n("你没有下载超分模型的参数,因此不进行超分。如想超分请先参照教程把文件下载好"))
|
||||
return audio,sr
|
||||
return audio.cpu().detach().numpy(),sr
|
||||
return sr_model(audio,sr)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user