fantasyfish commited on
Commit
20b2495
1 Parent(s): 9d6d299

Comment index_path assert in server_utils.py

Browse files
Files changed (1) hide show
  1. server_utils.py +1 -1
server_utils.py CHANGED
@@ -1123,7 +1123,7 @@ def model_inference_single(model_path, index_path, audio_path, save_path, error_
1123
  spk_item = 0 # speaker id
1124
  assert os.path.exists(audio_path), "audio file not found"
1125
  assert model_path in sid0['choices'], "model not found"
1126
- assert index_path in [file_index['choices'], ""], "index file not found"
1127
  get_vc(model_path) # load the model
1128
  print("%d speakers detected" % n_spk)
1129
 
 
1123
  spk_item = 0 # speaker id
1124
  assert os.path.exists(audio_path), "audio file not found"
1125
  assert model_path in sid0['choices'], "model not found"
1126
+ # assert index_path in [file_index['choices'], ""], "index file not found"
1127
  get_vc(model_path) # load the model
1128
  print("%d speakers detected" % n_spk)
1129