mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 20:37:51 +00:00
bugfix
This commit is contained in:
parent
ab7d51458b
commit
bdd375cd57
2
app.py
2
app.py
@ -741,7 +741,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
|
||||
name = data['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"
|
||||
if config_file.exists():
|
||||
self.config["personalities"].append(package_path)
|
||||
|
Loading…
Reference in New Issue
Block a user