From 0a8c602826fe74426955b300d4a735a5105d9a98 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Thu, 21 Mar 2024 01:07:18 +0100 Subject: [PATCH] sybnc --- lollms/services/xtts/lollms_xtts.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lollms/services/xtts/lollms_xtts.py b/lollms/services/xtts/lollms_xtts.py index 4572ec0..b2fdc6b 100644 --- a/lollms/services/xtts/lollms_xtts.py +++ b/lollms/services/xtts/lollms_xtts.py @@ -121,15 +121,11 @@ class LollmsXTTS: self.output_folder = app.lollms_paths.personal_outputs_path/"audio_out" self.output_folder.mkdir(parents=True, exist_ok=True) - if not self.wait_for_service(1,False) and xtts_base_url is None: + if not self.wait_for_service(1,False): ASCIIColors.info("Loading lollms_xtts") - os.environ['xtts_WEBUI_RESTARTING'] = '1' # To forbid sd webui from showing on the browser automatically # Launch the Flask service using the appropriate script for the platform self.process = self.run_xtts_api_server() - - # subprocess.Popen(["python", "-m", "xtts_api_server", "-o", f"{self.output_folder}", "-sf", f"{self.voice_samples_path}"]) - # Wait until the service is available at http://127.0.0.1:7860/ if wait_for_service: self.wait_for_service(max_retries=max_retries)