PlayerBPlaytime commited on
Commit
e2f0632
1 Parent(s): e6792b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -5,14 +5,12 @@ import os
5
  now_dir = os.getcwd()
6
  sys.path.append(now_dir)
7
 
8
- # Solo necesitas importar el módulo de la pestaña "Voice Blender"
9
  from tabs.voice_blender.voice_blender import voice_blender_tab
10
 
11
  # Assets
12
  import assets.themes.loadThemes as loadThemes
13
  from assets.i18n.i18n import I18nAuto
14
  import assets.installation_checker as installation_checker
15
- from assets.discord_presence import RPCManager
16
  from assets.flask.server import start_flask, load_config_flask
17
  from core import run_prerequisites_script
18
 
@@ -25,8 +23,7 @@ logging.getLogger("httpx").setLevel(logging.WARNING)
25
  run_prerequisites_script(False, True, True, True)
26
 
27
  i18n = I18nAuto()
28
- if load_config_presence() == True:
29
- RPCManager.start_presence()
30
  installation_checker.check_installation()
31
 
32
  if load_config_flask() == True:
@@ -39,7 +36,6 @@ if my_applio:
39
  else:
40
  my_applio = "ParityError/Interstellar"
41
 
42
- # Aquí defines la interfaz de Gradio con solo la pestaña de "Voice Blender"
43
  with gr.Blocks(theme=my_applio, title="Applio") as Applio:
44
  gr.Markdown("# Applio")
45
  gr.Markdown(
 
5
  now_dir = os.getcwd()
6
  sys.path.append(now_dir)
7
 
 
8
  from tabs.voice_blender.voice_blender import voice_blender_tab
9
 
10
  # Assets
11
  import assets.themes.loadThemes as loadThemes
12
  from assets.i18n.i18n import I18nAuto
13
  import assets.installation_checker as installation_checker
 
14
  from assets.flask.server import start_flask, load_config_flask
15
  from core import run_prerequisites_script
16
 
 
23
  run_prerequisites_script(False, True, True, True)
24
 
25
  i18n = I18nAuto()
26
+
 
27
  installation_checker.check_installation()
28
 
29
  if load_config_flask() == True:
 
36
  else:
37
  my_applio = "ParityError/Interstellar"
38
 
 
39
  with gr.Blocks(theme=my_applio, title="Applio") as Applio:
40
  gr.Markdown("# Applio")
41
  gr.Markdown(