enhanced webui

This commit is contained in:
Saifeddine ALOUI 2023-10-22 03:39:37 +02:00
parent 86cf4947ce
commit a9c6026ddf
9 changed files with 40 additions and 33 deletions

@ -1 +1 @@
Subproject commit 3fb04e62b19d4ae1501bc2be9c316a05c56b5b20
Subproject commit 3884ba588196107ceb746af0eaeaa98af00e02f3

View File

@ -17,7 +17,7 @@ requirements_dev = read_requirements("requirements_dev.txt")
setuptools.setup(
name="Lollms-webui",
version="5.0.0",
version="5.0.1",
author="Saifeddine ALOUI",
author_email="aloui.saifeddine@gmail.com",
description="A web ui for running chat models with different bindings. Supports multiple personalities and extensions.",

@ -1 +1 @@
Subproject commit d7e54b2404595d4f6314cdd42e399c5fe6c9af1e
Subproject commit ff7c8f3df4d3a349dfa3b6d9571c24b3378e88f1

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
View File

@ -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-0f920b17.js"></script>
<link rel="stylesheet" href="/assets/index-9dbe9b50.css">
<script type="module" crossorigin src="/assets/index-89fde044.js"></script>
<link rel="stylesheet" href="/assets/index-09567772.css">
</head>
<body>
<div id="app"></div>

View File

@ -29,6 +29,13 @@
{{ personality.author }}
</div>
<div class="flex items-center">
<i data-feather="git-commit" class="w-5 m-1"></i>
<b>Version:&nbsp;</b>
{{ personality.version }}
</div>
<div v-if="personality.languages && select_language" class="flex items-center">
<i data-feather="globe" class="w-5 m-1"></i>
<b>Languages:&nbsp;</b>

View File

@ -96,7 +96,7 @@
</div>
<button v-if="!showBrainConfirmation" title="Activate Long term Memory" class="text-2xl hover:text-secondary duration-75 active:scale-90"
@click="toggleLTM()">
<img v-if="isLoading" :src="SVGOrangeBrain" width="25" height="25" class="animate-pulse" title="Applying config, please stand by...">
<img v-if="loading" :src="SVGOrangeBrain" width="25" height="25" class="animate-pulse" title="Applying config, please stand by...">
<img v-else-if="UseDiscussionHistory" :src="SVGGreenBrain" width="25" height="25">
<img v-else :src="SVGRedBrain" width="25" height="25">
</button>
@ -451,9 +451,9 @@ export default {
this.applyConfiguration();
},
applyConfiguration() {
this.isLoading = true;
this.loading = true;
axios.post('/apply_settings', {"config":this.$store.state.config}).then((res) => {
this.isLoading = false;
this.loading = false;
//console.log('apply-res',res)
if (res.data.status) {
this.$refs.toast.showToast("Configuration changed successfully.", 4, true)
@ -465,7 +465,7 @@ export default {
feather.replace()
})
}).catch((err)=>{
this.isLoading = false;
this.loading = false;
this.$refs.toast.showToast("Configuration change failed.", 4, false)
})
},

@ -1 +1 @@
Subproject commit 49dd3fc22cdb9801c466c5674fe0441b23fe5af1
Subproject commit 28ee12d9684ea564f7b76c5fac89d235dc621893