Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CharIP-Electron
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ali
CharIP-Electron
Commits
73a7a2a5
Commit
73a7a2a5
authored
Dec 05, 2023
by
ali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 默认配置
parent
f4892c4d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ShowVideo.vue
src/renderer/screens/ShowVideo.vue
+1
-1
settings.ts
src/renderer/store/settings.ts
+2
-2
No files found.
src/renderer/screens/ShowVideo.vue
View file @
73a7a2a5
...
...
@@ -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
()
}
...
...
src/renderer/store/settings.ts
View file @
73a7a2a5
...
...
@@ -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
:
'http
s://beta.laihua.com
'
,
ttsHost
:
'http
://127.0.0.1:19000/api/v1/generate
'
,
source
:
[],
selectSource
:
''
,
isFullscreen
:
'no'
,
isOpenDevTools
:
false
,
llmUrl
:
'ws://1
92.168.50.50
:9001/api/v1/stream'
llmUrl
:
'ws://1
27.0.0.1
:9001/api/v1/stream'
})
as
ISettings
,
getters
:
{},
actions
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment