This commit is contained in:
unknown
2025-06-23 17:14:51 -07:00
parent ec86a8217f
commit ca53139bb5
262 changed files with 2 additions and 9 deletions

6
app.py
View File

@@ -230,12 +230,6 @@ Tip: to add of silence (1.4 seconds) into your text just use "###" or "[pause]".
from lib.functions import web_interface, convert_ebook_batch, convert_ebook
# copy bark builtin voices in cache if not exists
bark_dir_src = Path(default_engine_settings[TTS_ENGINES['BARK']]['speakers_src'])
bark_dir_dst = Path(default_engine_settings[TTS_ENGINES['BARK']]['speakers_path'])
if not bark_dir_dst.exists() or not any(bark_dir_dst.iterdir()):
shutil.copytree(bark_dir_src, bark_dir_dst, dirs_exist_ok=True)
# Conditions based on the --headless flag
if args['headless']:
args['is_gui_process'] = False

Some files were not shown because too many files have changed in this diff Show More