mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 12:27:52 +00:00
commit
0885eb9b85
4
app.py
4
app.py
@ -733,7 +733,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
|
||||
return
|
||||
language = data['language']
|
||||
category = data['category']
|
||||
name = data['name']
|
||||
name = data['folder']
|
||||
|
||||
package_path = f"{language}/{category}/{name}"
|
||||
package_full_path = self.lollms_paths.personalities_zoo_path/package_path
|
||||
@ -802,7 +802,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
|
||||
"active_personality_id":self.config["active_personality_id"]
|
||||
})
|
||||
else:
|
||||
ASCIIColors.error(f"nok : Personality not found @ {pth}")
|
||||
ASCIIColors.error(f"nok : personality id out of bounds @ {id} >= {len(self.config['personalities'])}")
|
||||
return jsonify({"status": False, "error":"Invalid ID"})
|
||||
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
web/dist/index.html
vendored
4
web/dist/index.html
vendored
@ -6,8 +6,8 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>GPT4All - WEBUI</title>
|
||||
<script type="module" crossorigin src="/assets/index-15f764ca.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-b23f444b.css">
|
||||
<script type="module" crossorigin src="/assets/index-5f487c0a.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-3a0806cb.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -1295,7 +1295,7 @@ export default {
|
||||
const obj = {
|
||||
language: pers.language,
|
||||
category: pers.category,
|
||||
name: pers.name
|
||||
folder: pers.folder
|
||||
}
|
||||
const res = await axios.post('/mount_personality', obj);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user