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