AnhP commited on
Commit
1e16444
·
verified ·
1 Parent(s): 40cafe6

Update main/app/app.py

Browse files
Files changed (1) hide show
  1. main/app/app.py +7 -7
main/app/app.py CHANGED
@@ -1319,7 +1319,7 @@ with gr.Blocks(title="📱 RVC GUI BY ANH", theme=theme) as app:
1319
  with gr.Tabs():
1320
  paths_for_files = lambda path: [os.path.abspath(os.path.join(path, f)) for f in os.listdir(path) if os.path.splitext(f)[1] in ('.mp3', '.wav', '.flac', '.ogg', '.m4a')]
1321
 
1322
- with gr.TabItem(translations["separator_tab"], visible="NoCrypt/miku"):
1323
  gr.Markdown(f"## {translations['separator_tab']}")
1324
  with gr.Row():
1325
  gr.Markdown(translations["4_part"])
@@ -2388,12 +2388,12 @@ with gr.Blocks(title="📱 RVC GUI BY ANH", theme=theme) as app:
2388
  for i in range(configs["num_of_restart"]):
2389
  try:
2390
  app.queue().launch(
2391
- favicon_path=os.path.join("assets", "miku.png"),
2392
- server_name=server_name,
2393
- server_port=port,
2394
- show_error=show_error,
2395
- inbrowser=False,
2396
- share=share
2397
  )
2398
  break
2399
  except OSError:
 
1319
  with gr.Tabs():
1320
  paths_for_files = lambda path: [os.path.abspath(os.path.join(path, f)) for f in os.listdir(path) if os.path.splitext(f)[1] in ('.mp3', '.wav', '.flac', '.ogg', '.m4a')]
1321
 
1322
+ with gr.TabItem(translations["separator_tab"], visible=configs["separator_tab"]):
1323
  gr.Markdown(f"## {translations['separator_tab']}")
1324
  with gr.Row():
1325
  gr.Markdown(translations["4_part"])
 
2388
  for i in range(configs["num_of_restart"]):
2389
  try:
2390
  app.queue().launch(
2391
+ # favicon_path=os.path.join("assets", "miku.png"),
2392
+ # server_name=server_name,
2393
+ # server_port=port,
2394
+ # show_error=show_error,
2395
+ # inbrowser=False,
2396
+ # share=share
2397
  )
2398
  break
2399
  except OSError: