drewThomasson commited on
Commit
6e1478e
1 Parent(s): f4ce57d

Update import_locally_stored_tts_model_files.py

Browse files
import_locally_stored_tts_model_files.py CHANGED
@@ -1,6 +1,8 @@
1
  import os
2
  import shutil
3
 
 
 
4
  # Define the source directory and the destination base path
5
  source_dir = os.getcwd() # Current working directory
6
  tts_folder = os.path.join(source_dir, 'tts')
@@ -16,5 +18,6 @@ if os.path.exists(tts_folder):
16
  shutil.rmtree(destination_path) # Remove the existing folder
17
  shutil.move(tts_folder, destination_path)
18
  print(f'Moved: {tts_folder} to {destination_path}')
 
19
  else:
20
  print(f'Source path does not exist: {tts_folder}')
 
1
  import os
2
  import shutil
3
 
4
+ print("Importing locally stored coqui tts models...")
5
+
6
  # Define the source directory and the destination base path
7
  source_dir = os.getcwd() # Current working directory
8
  tts_folder = os.path.join(source_dir, 'tts')
 
18
  shutil.rmtree(destination_path) # Remove the existing folder
19
  shutil.move(tts_folder, destination_path)
20
  print(f'Moved: {tts_folder} to {destination_path}')
21
+ print("Locally stored coqui tts models imported!")
22
  else:
23
  print(f'Source path does not exist: {tts_folder}')