mantrakp commited on
Commit
e3f3bde
1 Parent(s): 921ecba

Update submodule initialization for submodules

Browse files
Files changed (1) hide show
  1. config.py +2 -5
config.py CHANGED
@@ -14,11 +14,8 @@ sys.path.append(matcha_tts_path)
14
  sys.path.append(cosyvoice_path)
15
 
16
 
17
- # Pull the latest changes
18
- base_path = os.path.join(os.getcwd())
19
- os.system(f'cd {matcha_tts_path} && git pull')
20
- os.system(f'cd {cosyvoice_path} && git pull --recurse-submodules')
21
- os.system(f'cd {base_path}')
22
 
23
 
24
  # Setup ENV
 
14
  sys.path.append(cosyvoice_path)
15
 
16
 
17
+ # Pull latest changes for submodules
18
+ os.system('git submodule update --init --recursive')
 
 
 
19
 
20
 
21
  # Setup ENV