akshansh36 commited on
Commit
397d7c2
1 Parent(s): 4a50348

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ import threading
25
  logging.getLogger("infer_rvc_python").setLevel(logging.ERROR)
26
 
27
  # Ensure the correct path to the models directory
28
- model_dir = os.path.join(os.getcwd(), "Vodex-AI", "models")
29
 
30
  converter = BaseLoader(only_cpu=False, hubert_path=None, rmvpe_path=None)
31
 
 
25
  logging.getLogger("infer_rvc_python").setLevel(logging.ERROR)
26
 
27
  # Ensure the correct path to the models directory
28
+ model_dir = os.path.join(os.path.dirname(__file__), "models")
29
 
30
  converter = BaseLoader(only_cpu=False, hubert_path=None, rmvpe_path=None)
31