chong.zhang commited on
Commit
69f25ad
·
1 Parent(s): f6ee32e
Files changed (1) hide show
  1. inspiremusic/cli/inference.py +1 -1
inspiremusic/cli/inference.py CHANGED
@@ -31,7 +31,7 @@ def set_env_variables():
31
  bin_dir = os.path.join(main_root, 'inspiremusic')
32
  third_party_matcha_tts_path = os.path.join(main_root, 'third_party', 'Matcha-TTS')
33
  python_path = f"{main_root}:{bin_dir}:{third_party_matcha_tts_path}:{os.environ.get('PYTHONPATH', '')}"
34
- os.environ['PYTHONPATH'] = python_path
35
  sys.path.extend([main_root, third_party_matcha_tts_path])
36
 
37
  class InspireMusicUnified:
 
31
  bin_dir = os.path.join(main_root, 'inspiremusic')
32
  third_party_matcha_tts_path = os.path.join(main_root, 'third_party', 'Matcha-TTS')
33
  python_path = f"{main_root}:{bin_dir}:{third_party_matcha_tts_path}:{os.environ.get('PYTHONPATH', '')}"
34
+ os.environ['PATH'] = python_path
35
  sys.path.extend([main_root, third_party_matcha_tts_path])
36
 
37
  class InspireMusicUnified: