niomataalfin commited on
Commit
6280624
·
1 Parent(s): 9842997
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -68,8 +68,6 @@ if not os.path.exists(assets_folder):
68
  except subprocess.CalledProcessError as e:
69
  print(f"Error downloading {file}: {e}")
70
 
71
-
72
-
73
  load_dotenv()
74
  config = Config()
75
  vc = VC(config)
@@ -924,7 +922,7 @@ def download_model_files(model):
924
  else:
925
  return None, f'Could not find {model}.pth or corresponding Index file.'
926
 
927
- with gr.Blocks(title="🔊",theme=gr.themes.Base(primary_hue="rose",neutral_hue="zinc")) as app:
928
  with gr.Row():
929
  gr.HTML("<img src='file/a.png' alt='image'>")
930
  with gr.Tabs():
@@ -1452,9 +1450,11 @@ with gr.Blocks(title="🔊",theme=gr.themes.Base(primary_hue="rose",neutral_hue=
1452
  api_name="train_start_all",
1453
  )
1454
 
 
1455
  if config.iscolab:
1456
  app.queue(concurrency_count=511, max_size=1022).launch(share=True)
1457
  else:
 
1458
  app.queue(concurrency_count=511, max_size=1022).launch(
1459
  server_name="0.0.0.0",
1460
  inbrowser=not config.noautoopen,
 
68
  except subprocess.CalledProcessError as e:
69
  print(f"Error downloading {file}: {e}")
70
 
 
 
71
  load_dotenv()
72
  config = Config()
73
  vc = VC(config)
 
922
  else:
923
  return None, f'Could not find {model}.pth or corresponding Index file.'
924
 
925
+ with gr.Blocks(title="NioRVC",theme=gr.themes.Base(primary_hue="rose",neutral_hue="zinc")) as app:
926
  with gr.Row():
927
  gr.HTML("<img src='file/a.png' alt='image'>")
928
  with gr.Tabs():
 
1450
  api_name="train_start_all",
1451
  )
1452
 
1453
+ print('Running RVC')
1454
  if config.iscolab:
1455
  app.queue(concurrency_count=511, max_size=1022).launch(share=True)
1456
  else:
1457
+ print('Running RVC on Server')
1458
  app.queue(concurrency_count=511, max_size=1022).launch(
1459
  server_name="0.0.0.0",
1460
  inbrowser=not config.noautoopen,