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
4d58b0df10
commit
ee3ddf483c
@ -1 +1 @@
|
||||
Subproject commit eea9d3072ca88140e231d9458c911a92ad1a0e63
|
||||
Subproject commit c3007e744a59575f002ca70b3e23e5c17181644c
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
web/dist/connection_lost.wav
vendored
Normal file
BIN
web/dist/connection_lost.wav
vendored
Normal file
Binary file not shown.
BIN
web/dist/connection_recovered.wav
vendored
Normal file
BIN
web/dist/connection_recovered.wav
vendored
Normal file
Binary file not shown.
BIN
web/dist/disconnected.mp3
vendored
BIN
web/dist/disconnected.mp3
vendored
Binary file not shown.
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-f277ea7b.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-1917f9ad.css">
|
||||
<script type="module" crossorigin src="/assets/index-d47514f3.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-f2a937ca.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
BIN
web/dist/rebooting.mp3
vendored
BIN
web/dist/rebooting.mp3
vendored
Binary file not shown.
BIN
web/dist/rebooting.wav
vendored
Normal file
BIN
web/dist/rebooting.wav
vendored
Normal file
Binary file not shown.
BIN
web/public/connection_lost.wav
Normal file
BIN
web/public/connection_lost.wav
Normal file
Binary file not shown.
BIN
web/public/connection_recovered.wav
Normal file
BIN
web/public/connection_recovered.wav
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
web/public/rebooting.wav
Normal file
BIN
web/public/rebooting.wav
Normal file
Binary file not shown.
@ -163,7 +163,7 @@
|
||||
<i data-feather="volume-2"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="this.$store.state.config.enable_voice_service" class="flex flex-row items-center">
|
||||
<div class="flex flex-row items-center">
|
||||
<div v-if="!isSynthesizingVoice" class="text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer"
|
||||
title="read"
|
||||
@click.stop="read()"
|
||||
@ -430,8 +430,8 @@ export default {
|
||||
},
|
||||
read(){
|
||||
if(this.isSynthesizingVoice){
|
||||
this.$refs.audio_player.pause()
|
||||
this.isSynthesizingVoice=false
|
||||
this.$refs.audio_player.pause()
|
||||
}
|
||||
else{
|
||||
this.isSynthesizingVoice=true
|
||||
|
@ -157,9 +157,13 @@ export default {
|
||||
watch:{
|
||||
isConnected(){
|
||||
if (!this.isConnected){
|
||||
this.disconnected_audio.play()
|
||||
this.connection_lost_audio.play()
|
||||
this.$store.state.toast.showToast("Server suddenly disconnected. Please reboot the server", 410, false)
|
||||
}
|
||||
else{
|
||||
this.connection_recovered_audio.play()
|
||||
this.$store.state.toast.showToast("Server connected.", 410, true)
|
||||
}
|
||||
nextTick(() => {
|
||||
feather.replace()
|
||||
})
|
||||
@ -170,8 +174,9 @@ export default {
|
||||
return {
|
||||
discord:discord,
|
||||
FastAPI:FastAPI,
|
||||
rebooting_the_tool_audio: new Audio("rebooting.mp3"),
|
||||
disconnected_audio: new Audio("disconnected.mp3"),
|
||||
rebooting_audio: new Audio("rebooting.wav"),
|
||||
connection_lost_audio: new Audio("connection_lost.wav"),
|
||||
connection_recovered_audio: new Audio("connection_recovered.wav"),
|
||||
database_selectorDialogVisible:false,
|
||||
progress_visibility:false,
|
||||
progress_value:0,
|
||||
@ -210,7 +215,7 @@ export default {
|
||||
restartProgram(event) {
|
||||
event.preventDefault();
|
||||
this.$store.state.api_get_req('restart_program')
|
||||
this.rebooting_the_tool_audio.play()
|
||||
this.rebooting_audio.play()
|
||||
this.$store.state.toast.showToast("Rebooting the app. Please wait...", 410, false)
|
||||
//self.$store.state.toast.showToast("Rebooting the app. Please wait...", 50, true);
|
||||
console.log("this.$store.state.api_get_req",this.$store.state.api_get_req)
|
||||
|
@ -3363,7 +3363,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onReloadBinding(binding_object){
|
||||
|
||||
console.log("Reloading binding")
|
||||
this.isLoading = true
|
||||
axios.post('/reload_binding', { name: binding_object.binding.folder }).then((res) => {
|
||||
|
||||
@ -3373,7 +3373,7 @@ export default {
|
||||
if (res.data.status) {
|
||||
this.$store.state.toast.showToast("Binding reloaded successfully!", 4, true)
|
||||
} else {
|
||||
this.$store.state.toast.showToast("Could not reinstall binding", 4, false)
|
||||
this.$store.state.toast.showToast("Could not reload binding", 4, false)
|
||||
}
|
||||
return res.data;
|
||||
}
|
||||
@ -3383,7 +3383,7 @@ export default {
|
||||
|
||||
.catch(error => {
|
||||
this.isLoading = false
|
||||
this.$store.state.toast.showToast("Could not reinstall binding\n" + error.message, 4, false)
|
||||
this.$store.state.toast.showToast("Could not reload binding\n" + error.message, 4, false)
|
||||
return { 'status': false }
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user