jlopez00 commited on
Commit
a376e00
1 Parent(s): 2e0b1b0

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. core/__init__.py +3 -0
core/__init__.py CHANGED
@@ -359,6 +359,9 @@ def run_tts_script(
359
 
360
  if os.path.exists(output_tts_path):
361
  os.remove(output_tts_path)
 
 
 
362
 
363
  command_tts = [
364
  *map(
 
359
 
360
  if os.path.exists(output_tts_path):
361
  os.remove(output_tts_path)
362
+ dirname = os.path.dirname(output_tts_path)
363
+ if not os.path.exists(dirname):
364
+ os.makedirs(dirname)
365
 
366
  command_tts = [
367
  *map(