upgraded ui

This commit is contained in:
Saifeddine ALOUI 2023-05-22 19:35:58 +02:00
parent 6c1f2d03c9
commit 0bae01373d
3 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

2
web/dist/index.html vendored
View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GPT4All - WEBUI</title>
<script type="module" crossorigin src="/assets/index-53c32ebf.js"></script>
<script type="module" crossorigin src="/assets/index-71796173.js"></script>
<link rel="stylesheet" href="/assets/index-31b0e39d.css">
</head>
<body>

View File

@ -496,6 +496,7 @@ export default {
model_object.progress = response.progress
} else if (response.status === 'succeeded') {
socket.off('install_progress', progressListener);
console.log("Installed successfully")
// Update the isInstalled property of the corresponding model
const index = this.models.findIndex((model) => model.path === path);
this.models[index].isInstalled = true;
@ -503,6 +504,7 @@ export default {
} else if (response.status === 'failed') {
socket.off('install_progress', progressListener);
console.log("Install failed")
// Installation failed or encountered an error
model_object.installing = false;
this.showProgress = false;