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
8a4126f1
You need to sign in or sign up before continuing.
Commit
8a4126f1
authored
Dec 19, 2023
by
ali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 新增视频数字人
parent
7c729a3d
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
35 additions
and
9 deletions
+35
-9
.gitignore
.gitignore
+0
-8
settings.json
.vscode/settings.json
+2
-1
1.mov
src/renderer/public/suhe/1.mov
+0
-0
2.mov
src/renderer/public/suhe/2.mov
+0
-0
3.mov
src/renderer/public/suhe/3.mov
+0
-0
4.mov
src/renderer/public/suhe/4.mov
+0
-0
5.mov
src/renderer/public/suhe/5.mov
+0
-0
wait.mov
src/renderer/public/suhe/wait.mov
+0
-0
ShowVideo.vue
src/renderer/screens/ShowVideo.vue
+1
-0
video.ts
src/renderer/store/video.ts
+32
-0
No files found.
.gitignore
View file @
8a4126f1
...
...
@@ -46,14 +46,6 @@ $RECYCLE.BIN/
*.war
*.deb
# Large media files
# *.mp4
*.tiff
*.avi
*.flv
*.mov
*.wmv
# ---------- End of common ignore files
# Project Files
...
...
.vscode/settings.json
View file @
8a4126f1
...
...
@@ -2,7 +2,7 @@
"workbench.settings.useSplitJSON"
:
true
,
"eslint.codeActionsOnSave.rules"
:
null
,
"editor.codeActionsOnSave"
:
{
"source.fixAll.eslint"
:
true
"source.fixAll.eslint"
:
"explicit"
},
"eslint.validate"
:
[
"javascript"
...
...
@@ -20,6 +20,7 @@
"editor.tabSize"
:
2
,
"cSpell.words"
:
[
"flvjs"
,
"suhe"
,
"superres"
,
"Vosk"
],
...
...
src/renderer/public/suhe/1.mov
0 → 100644
View file @
8a4126f1
File added
src/renderer/public/suhe/2.mov
0 → 100644
View file @
8a4126f1
File added
src/renderer/public/suhe/3.mov
0 → 100644
View file @
8a4126f1
File added
src/renderer/public/suhe/4.mov
0 → 100644
View file @
8a4126f1
File added
src/renderer/public/suhe/5.mov
0 → 100644
View file @
8a4126f1
File added
src/renderer/public/suhe/wait.mov
0 → 100644
View file @
8a4126f1
File added
src/renderer/screens/ShowVideo.vue
View file @
8a4126f1
...
...
@@ -544,5 +544,6 @@ async function xfTTS(text: string) {
.chip
{
cursor
:
pointer
;
margin
:
0
6px
;
}
</
style
>
src/renderer/store/video.ts
View file @
8a4126f1
...
...
@@ -65,6 +65,38 @@ const useVideoStore = defineStore('video', {
a
:
'李白在中国文学史上占据着极其重要的地位,他的作品不仅丰富了诗歌的艺术表现形式,也反映了唐代社会的精神风貌。'
}
]
},
{
url
:
new
URL
(
'/suhe/wait.mov'
,
import
.
meta
.
url
).
href
,
poster
:
new
URL
(
'/suhe/poster.jpg'
,
import
.
meta
.
url
).
href
,
name
:
'苏荷'
,
qa
:
[
{
url
:
new
URL
(
'/suhe/1.mov'
,
import
.
meta
.
url
).
href
,
q
:
'如何改善睡眠质量?'
,
a
:
'改善睡眠质量的方法包括保持规律的睡眠时间表、创造一个安静和舒适的睡眠环境、限制晚间咖啡因和电子设备使用,以及进行适量的日常运动。'
},
{
url
:
new
URL
(
'/suhe/2.mov'
,
import
.
meta
.
url
).
href
,
q
:
'什么是人工智能?'
,
a
:
'人工智能是一门科学和工程学科,致力于创造和编程计算机来模拟人类智能行为,包括学习、推理、问题解决、感知和语言理解。'
},
{
url
:
new
URL
(
'/suhe/3.mov'
,
import
.
meta
.
url
).
href
,
q
:
'什么是健康饮食?'
,
a
:
'健康饮食是指均衡摄入各种营养物质,包括充足的水果、蔬菜、全谷物、瘦蛋白和健康脂肪,同时限制加工食品、糖和饱和脂肪的摄入。'
},
{
url
:
new
URL
(
'/suhe/4.mov'
,
import
.
meta
.
url
).
href
,
q
:
'如何有效管理时间?'
,
a
:
'有效的时间管理包括设定明确的目标、优先级排序、制定日程安排、避免拖延,以及定期休息以保持精力。'
},
{
url
:
new
URL
(
'/suhe/5.mov'
,
import
.
meta
.
url
).
href
,
q
:
'怎样才能提高工作效率?'
,
a
:
'提高工作效率的方法包括设置具体目标、规划任务清单、减少干扰、使用时间管理技巧,以及保持工作场所的整洁和组织。'
},
]
}
]
})
as
IVideo
,
...
...
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