Spaces:
Running
on
Zero
Running
on
Zero
chong.zhang
commited on
Commit
·
69f25ad
1
Parent(s):
f6ee32e
update
Browse files
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['
|
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:
|