From fd78036f640075e79143b50c28f820849e388575 Mon Sep 17 00:00:00 2001 From: Ftps Date: Tue, 29 Aug 2023 15:47:17 +0900 Subject: [PATCH] fix gui_v1 --- gui_v1.py | 2 +- tools/rvc_for_realtime.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui_v1.py b/gui_v1.py index 90b8817..5edb349 100644 --- a/gui_v1.py +++ b/gui_v1.py @@ -55,7 +55,7 @@ if __name__ == "__main__": import torchaudio.transforms as tat import tools.rvc_for_realtime as rvc_for_realtime - from i18n import I18nAuto + from i18n.i18n import I18nAuto i18n = I18nAuto() device = rvc_for_realtime.config.device diff --git a/tools/rvc_for_realtime.py b/tools/rvc_for_realtime.py index 32316c3..734d926 100644 --- a/tools/rvc_for_realtime.py +++ b/tools/rvc_for_realtime.py @@ -27,7 +27,7 @@ from multiprocessing import Manager as M from configs.config import Config -Config() +config = Config() mm = M() if config.dml == True: