mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
updated
This commit is contained in:
parent
9075ab2036
commit
732e98920c
7
app.py
7
app.py
@ -985,10 +985,11 @@ class LoLLMsWebUI(LoLLMsAPPI):
|
||||
except Exception as e:
|
||||
print(f"Error occurred while parsing JSON: {e}")
|
||||
return jsonify({"status":False, 'error':str(e)})
|
||||
|
||||
personality_path = lollms_paths.personalities_zoo_path / data['name']
|
||||
ASCIIColors.info(f"- Reinstalling personality {data['name']}...")
|
||||
if not 'name' in data:
|
||||
data['name']=self.config.personalities[self.config["active_personality_id"]]
|
||||
try:
|
||||
personality_path = lollms_paths.personalities_zoo_path / data['name']
|
||||
ASCIIColors.info(f"- Reinstalling personality {data['name']}...")
|
||||
ASCIIColors.info("Unmounting personality")
|
||||
idx = self.config.personalities.index(data['name'])
|
||||
print(f"index = {idx}")
|
||||
|
@ -13,3 +13,5 @@ requests
|
||||
eventlet
|
||||
websocket-client
|
||||
GitPython
|
||||
setuptools
|
||||
numpy
|
Loading…
Reference in New Issue
Block a user