juliandreykorn commited on
Commit
2198981
1 Parent(s): b442f06

Tries to locate tos file

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -64,6 +64,6 @@ class EndpointHandler:
64
  target_folder = os.path.join(home_dir, '.local', 'share', 'tts', 'tts_models--multilingual--multi-dataset--xtts_v2')
65
  if not os.path.exists(target_folder):
66
  os.makedirs(target_folder)
67
- source_file = 'tos_agreed.txt'
68
  destination_file = os.path.join(target_folder, 'tos_agreed.txt')
69
  shutil.copy(source_file, destination_file)
 
64
  target_folder = os.path.join(home_dir, '.local', 'share', 'tts', 'tts_models--multilingual--multi-dataset--xtts_v2')
65
  if not os.path.exists(target_folder):
66
  os.makedirs(target_folder)
67
+ source_file = './tos_agreed.txt'
68
  destination_file = os.path.join(target_folder, 'tos_agreed.txt')
69
  shutil.copy(source_file, destination_file)