kevinwang676 commited on
Commit
d16f51d
1 Parent(s): d39f6f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -387,7 +387,7 @@ def load_hubert():
387
  # Set the model to evaluation mode
388
  hubert_model.eval()
389
 
390
- #load_hubert()
391
 
392
  def rvc_models(model_name):
393
  global vc, net_g, index_files, tgt_sr, version
@@ -467,7 +467,7 @@ def infer_gpu(hubert_model, net_g, audio, f0_up_key, index_file, tgt_sr, version
467
  )
468
 
469
  def rvc_infer_music(url, model_name, song_name, split_model, f0_up_key, vocal_volume, inst_volume):
470
- load_hubert()
471
  #print(hubert_model)
472
  url = url.strip().replace(" ", "")
473
  model_name = model_name.strip().replace(" ", "")
 
387
  # Set the model to evaluation mode
388
  hubert_model.eval()
389
 
390
+ load_hubert()
391
 
392
  def rvc_models(model_name):
393
  global vc, net_g, index_files, tgt_sr, version
 
467
  )
468
 
469
  def rvc_infer_music(url, model_name, song_name, split_model, f0_up_key, vocal_volume, inst_volume):
470
+ #load_hubert()
471
  #print(hubert_model)
472
  url = url.strip().replace(" ", "")
473
  model_name = model_name.strip().replace(" ", "")