mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-05-04 01:01:06 +08:00
Update inference_webui.py
This commit is contained in:
parent
c49a097a1d
commit
8974a5bcf7
@ -1,5 +1,4 @@
|
|||||||
import os
|
import os
|
||||||
import i18n
|
|
||||||
|
|
||||||
gpt_path = os.environ.get(
|
gpt_path = os.environ.get(
|
||||||
"gpt_path", "pretrained_models/s1bert25hz-2kh-longer-epoch=68e-step=50232.ckpt"
|
"gpt_path", "pretrained_models/s1bert25hz-2kh-longer-epoch=68e-step=50232.ckpt"
|
||||||
@ -32,7 +31,7 @@ from text.cleaner import clean_text
|
|||||||
from time import time as ttime
|
from time import time as ttime
|
||||||
from module.mel_processing import spectrogram_torch
|
from module.mel_processing import spectrogram_torch
|
||||||
from my_utils import load_audio
|
from my_utils import load_audio
|
||||||
from i18n.i18n import I18nAuto
|
from tools.i18n.i18n import I18nAuto
|
||||||
i18n = I18nAuto()
|
i18n = I18nAuto()
|
||||||
|
|
||||||
device = "cuda"
|
device = "cuda"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user