Commit 73a7a2a5 authored by ali's avatar ali

fix: 默认配置

parent f4892c4d
......@@ -173,7 +173,7 @@ async function onAsr(question: string) {
const { q, url } = role.qa[i]
console.log(question + ' : ' + q)
if (q.includes(question)) {
videoEle.src = settings.filePath + './..' + url
videoEle.src = url
videoEle.load()
videoEle.play()
}
......
......@@ -52,12 +52,12 @@ const useSettingsStore = defineStore('settings', {
new URL('/vosk/models/vosk-model-small-vn-0.3.tar.gz', import.meta.url).href
],
voskSelectModel: new URL('/vosk/models/vosk-model-small-cn-0.3.tar.gz', import.meta.url).href,
ttsHost: 'https://beta.laihua.com',
ttsHost: 'http://127.0.0.1:19000/api/v1/generate',
source: [],
selectSource: '',
isFullscreen: 'no',
isOpenDevTools: false,
llmUrl: 'ws://192.168.50.50:9001/api/v1/stream'
llmUrl: 'ws://127.0.0.1:9001/api/v1/stream'
}) as ISettings,
getters: {},
actions: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment