helloWorld199 commited on
Commit
3bed861
1 Parent(s): af4a49e

Update src/main.py

Browse files
Files changed (1) hide show
  1. src/main.py +2 -2
src/main.py CHANGED
@@ -103,8 +103,8 @@ def get_rvc_model(voice_model, is_webui):
103
  if file.endswith('.pth'):
104
  # Append the full path of the file to the list
105
  rvc_model_filename = os.path.join(root, file)
106
- if file.endswith('.index'):
107
- rvc_index_filename = file
108
 
109
  if rvc_model_filename is None:
110
  error_msg = f'No model file exists in {model_dir}.'
 
103
  if file.endswith('.pth'):
104
  # Append the full path of the file to the list
105
  rvc_model_filename = os.path.join(root, file)
106
+ #if file.endswith('.index'):
107
+ # rvc_index_filename = file
108
 
109
  if rvc_model_filename is None:
110
  error_msg = f'No model file exists in {model_dir}.'