fixed some errors

This commit is contained in:
Saifeddine ALOUI 2024-05-09 20:27:50 +02:00
parent 22a4be7f15
commit 2e2414ec1a
7 changed files with 14 additions and 14 deletions

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-1501e5cc.js"></script>
<link rel="stylesheet" href="/assets/index-fbc2cedb.css">
<script type="module" crossorigin src="/assets/index-1b5eb862.js"></script>
<link rel="stylesheet" href="/assets/index-31a33d12.css">
</head>
<body>
<div id="app"></div>

View File

@ -147,8 +147,8 @@ export default {
const json = JSON.stringify({
'client_id': this.client_id,
'code': this.code,
'discussion_id': this.discussion_id,
'message_id': this.message_id,
'discussion_id': this.discussion_id?this.discussion_id:0,
'message_id': this.message_id?this.message_id:0,
'language': this.language
})
console.log(json)

View File

@ -143,7 +143,7 @@
</tokens-hilighter>
<div v-if="tab_id === 'render'">
<MarkdownRenderer ref="mdRender" :markdown-text="text" class="mt-4 p-2 rounded shadow-lg dark:bg-bg-dark">
<MarkdownRenderer ref="mdRender" :client_id="this.$store.state.client_id" :message_id="0" :discussion_id="0" :markdown-text="text" class="mt-4 p-2 rounded shadow-lg dark:bg-bg-dark">
</MarkdownRenderer>
</div>
</div>

View File

@ -5671,8 +5671,8 @@ export default {
},
set(value) {
// You should not set the value directly here; use the updateSetting method instead
console.log("Current voice set to ",value)
this.$store.state.config.current_language = value
console.log("Current xtts voice set to ",value)
this.$store.state.config.xtts_current_language = value
},
},
xtts_current_voice:{

@ -1 +1 @@
Subproject commit d80f81100687ffc795e05839244babcc402d02e1
Subproject commit 29ba5751ce89eff4823b56bcb0bcf842c9447201