This commit is contained in:
Saifeddine ALOUI 2023-07-08 00:25:04 +02:00
parent e07c76deb3
commit 02dd6aadf4

4
app.py
View File

@ -28,7 +28,7 @@ from lollms.config import InstallOption
from lollms.binding import LOLLMSConfig, BindingBuilder, LLMBinding
from lollms.personality import AIPersonality, MSG_TYPE
from lollms.config import BaseConfig
from lollms.helpers import ASCIIColors
from lollms.helpers import ASCIIColors, trace_exception
from lollms.paths import LollmsPaths
from api.db import DiscussionsDB, Discussion
from api.helpers import compare_lists
@ -904,7 +904,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
ASCIIColors.info("Model reloaded successfully")
except Exception as ex:
print(f"Couldn't build model: [{ex}]")
self.trace_exception(ex)
trace_exception(ex)
try:
self.rebuild_personalities()
except Exception as ex: