mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-29 15:44:12 +00:00
updated
This commit is contained in:
parent
5366f70247
commit
2bb27eb420
6
app.py
6
app.py
@ -1646,6 +1646,12 @@ try:
|
|||||||
self.model = self.binding.build_model()
|
self.model = self.binding.build_model()
|
||||||
for per in self.mounted_personalities:
|
for per in self.mounted_personalities:
|
||||||
per.model = self.model
|
per.model = self.model
|
||||||
|
else:
|
||||||
|
self.config.binding_name = None
|
||||||
|
if self.config.auto_save:
|
||||||
|
ASCIIColors.info("Saving configuration")
|
||||||
|
self.config.save_config()
|
||||||
|
|
||||||
return jsonify({"status": True})
|
return jsonify({"status": True})
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
ASCIIColors.error(f"Couldn't build binding: [{ex}]")
|
ASCIIColors.error(f"Couldn't build binding: [{ex}]")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user