File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 6
6
from programs .applio_code .rvc .lib .tools .prerequisites_download import (
7
7
prequisites_download_pipeline ,
8
8
)
9
- from tabs .presence import load_config_presence , presence_tab
10
-
9
+ from tabs .presence import load_config_presence
10
+ from assets .i18n .i18n import I18nAuto
11
+ import assets .themes .loadThemes as loadThemes
11
12
now_dir = os .getcwd ()
12
13
sys .path .append (now_dir )
13
14
DEFAULT_PORT = 7755
22
23
)
23
24
24
25
25
- from assets .i18n .i18n import I18nAuto
26
- import assets .themes .loadThemes as loadThemes
27
-
28
-
29
- i18n = I18nAuto ()
30
26
31
- if load_config_presence ():
32
- from assets .discord_presence import RPCManager
33
27
34
- RPCManager .start_presence ()
35
28
29
+ i18n = I18nAuto ()
36
30
37
31
rvc_theme = loadThemes .load_theme () or "NoCrypt/miku"
38
32
51
45
theme_tab ()
52
46
with gr .Tab ("Language Changer" ):
53
47
lang_tab ()
54
- with gr .Tab ("Discord Presence" ):
55
- presence_tab ()
48
+
56
49
restart_tab ()
57
50
gr .Markdown (
58
51
"""
You can’t perform that action at this time.
0 commit comments