mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
upgraded
This commit is contained in:
parent
568e334970
commit
cf7c7d05ca
@ -221,7 +221,7 @@ class LoLLMsAPPI(LollmsApplication):
|
||||
if model_type=="gptq":
|
||||
parts = model_path.split("/")
|
||||
if len(parts)==2:
|
||||
filename = parts[2]
|
||||
filename = parts[1]
|
||||
else:
|
||||
filename = parts[4]
|
||||
installation_path = installation_dir / filename
|
||||
|
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>LoLLMS WebUI - Welcome</title>
|
||||
<script type="module" crossorigin src="/assets/index-cd17b563.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-e09d4cea.css">
|
||||
<script type="module" crossorigin src="/assets/index-a48567d6.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-a6be8b06.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -507,6 +507,7 @@ export default {
|
||||
this.$emit('stopGenerating')
|
||||
},
|
||||
addFiles(event) {
|
||||
console.log("Adding file")
|
||||
this.fileList = this.fileList.concat([...event.target.files])
|
||||
this.isFileSentList = this.isFileSentList.concat([false] * this.fileList.length)
|
||||
this.send_file(this.fileList[this.fileList.length-1])
|
||||
|
@ -1596,6 +1596,11 @@ export default {
|
||||
}
|
||||
};
|
||||
|
||||
this.socket.onclose = () => {
|
||||
console.log('WebSocket connection lost.');
|
||||
this.currentDiscussion=null
|
||||
};
|
||||
|
||||
|
||||
|
||||
this.isCreated = true
|
||||
|
Loading…
Reference in New Issue
Block a user