This commit is contained in:
Saifeddine ALOUI 2024-04-01 23:40:21 +02:00
parent 52c3568439
commit f810f0d0cc

View File

@ -867,6 +867,7 @@ class AIPersonality:
self.audio_samples = [f for f in self.audio_path.iterdir()]
# Verify if the persona has a data folder
if self.data_path.exists():
self.database_path = self.data_path / "db.json"
if self.database_path.exists():
ASCIIColors.info("Loading database ...",end="")
@ -896,6 +897,9 @@ class AIPersonality:
self.persona_data_vectorizer = None
self._data = None
else:
self.persona_data_vectorizer = None
self._data = None
if self.run_scripts:
# Search for any processor code