This commit is contained in:
Saifeddine ALOUI 2023-06-10 15:56:12 +02:00
parent ab7d51458b
commit bdd375cd57

2
app.py
View File

@ -741,7 +741,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
name = data['name'] name = data['name']
package_path = f"{language}/{category}/{name}" package_path = f"{language}/{category}/{name}"
package_full_path = self.lollms_paths.lollms_path/"personalities_zoo"/package_path package_full_path = self.lollms_paths.personalities_zoo_path/package_path
config_file = package_full_path / "config.yaml" config_file = package_full_path / "config.yaml"
if config_file.exists(): if config_file.exists():
self.config["personalities"].append(package_path) self.config["personalities"].append(package_path)