Update app.py

This commit is contained in:
Saifeddine ALOUI 2024-08-29 16:03:45 +02:00 committed by GitHub
parent d2b4036e57
commit 928898ad0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -516,15 +516,6 @@ class LollmsApplication(LoLLMsCom):
except:
self.warning(f"Couldn't load Comfyui")
if self.config.enable_motion_ctrl_service and self.motion_ctrl is None:
try:
from lollms.services.motion_ctrl.lollms_motion_ctrl import Service
self.motion_ctrl = Service(self, base_url=self.config.motion_ctrl_base_url)
except Exception as ex:
trace_exception(ex)
self.warning(f"Couldn't load Motion control")
ASCIIColors.blue("Activating TTI service")
if self.config.active_tti_service == "diffusers" and (self.tti is None or self.tti.name!="diffusers"):
from lollms.services.tti.diffusers.lollms_diffusers import LollmsDiffusers