This commit is contained in:
Saifeddine ALOUI 2024-03-23 20:14:50 +01:00
parent 1c8b569906
commit b8ecd8ce5e

View File

@ -138,7 +138,7 @@ class LollmsXTTS:
# Get the path to the current Python interpreter
python_path = sys.executable
ASCIIColors.yellow("Loading XTTS ")
process = run_python_script_in_env("xtts",f"-m xtts_api_server -o {self.output_folder} -sf {self.voice_samples_path} -p {self.xtts_base_url.split(':')[-1].replace('/','')}", wait= False)
process = run_python_script_in_env("xtts", f"-m xtts_api_server -o {self.output_folder} -sf {self.voice_samples_path} -p {self.xtts_base_url.split(':')[-1].replace('/','')}", wait= False)
return process
def wait_for_service(self, max_retries = 150, show_warning=True):