Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
text2video-frontend
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
周成波
text2video-frontend
Commits
e32979e9
Commit
e32979e9
authored
Feb 16, 2024
by
周成波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加是否需要字幕
parent
20d1cf3d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
398 additions
and
173 deletions
+398
-173
components.d.ts
components.d.ts
+3
-0
text2videoService.ts
src/api/service/text2videoService.ts
+2
-2
useManyValues.ts
src/views/home/compositions/useManyValues.ts
+351
-0
index.vue
src/views/home/index.vue
+42
-171
No files found.
components.d.ts
View file @
e32979e9
...
@@ -18,6 +18,9 @@ declare module 'vue' {
...
@@ -18,6 +18,9 @@ declare module 'vue' {
ElImage
:
typeof
import
(
'element-plus/es'
)[
'ElImage'
]
ElImage
:
typeof
import
(
'element-plus/es'
)[
'ElImage'
]
ElInput
:
typeof
import
(
'element-plus/es'
)[
'ElInput'
]
ElInput
:
typeof
import
(
'element-plus/es'
)[
'ElInput'
]
ElOption
:
typeof
import
(
'element-plus/es'
)[
'ElOption'
]
ElOption
:
typeof
import
(
'element-plus/es'
)[
'ElOption'
]
ElRadio
:
typeof
import
(
'element-plus/es'
)[
'ElRadio'
]
ElRadioButton
:
typeof
import
(
'element-plus/es'
)[
'ElRadioButton'
]
ElRadioGroup
:
typeof
import
(
'element-plus/es'
)[
'ElRadioGroup'
]
ElSelect
:
typeof
import
(
'element-plus/es'
)[
'ElSelect'
]
ElSelect
:
typeof
import
(
'element-plus/es'
)[
'ElSelect'
]
ElTable
:
typeof
import
(
'element-plus/es'
)[
'ElTable'
]
ElTable
:
typeof
import
(
'element-plus/es'
)[
'ElTable'
]
ElTableColumn
:
typeof
import
(
'element-plus/es'
)[
'ElTableColumn'
]
ElTableColumn
:
typeof
import
(
'element-plus/es'
)[
'ElTableColumn'
]
...
...
src/api/service/text2videoService.ts
View file @
e32979e9
...
@@ -30,11 +30,11 @@ export default {
...
@@ -30,11 +30,11 @@ export default {
img_idx
:
string
=
""
,
img_idx
:
string
=
""
,
prompt
:
string
=
""
,
prompt
:
string
=
""
,
negative_prompt
:
string
=
""
,
negative_prompt
:
string
=
""
,
width
:
string
=
"960"
,
height
:
string
=
"512"
,
sampler_index
:
string
=
"DPM++ 2M Karras"
,
sampler_index
:
string
=
"DPM++ 2M Karras"
,
seed
:
string
=
"-1"
,
seed
:
string
=
"-1"
,
steps
:
string
=
"25"
,
steps
:
string
=
"25"
,
width
:
string
=
"960"
,
height
:
string
=
"512"
,
cfg_scale
:
string
=
"9"
,
cfg_scale
:
string
=
"9"
,
):
Promise
<
{
"domain_image_path"
:
string
,
"local_image_path"
:
string
}
>
{
):
Promise
<
{
"domain_image_path"
:
string
,
"local_image_path"
:
string
}
>
{
if
(
!
prompt
)
{
if
(
!
prompt
)
{
...
...
src/views/home/compositions/useManyValues.ts
0 → 100644
View file @
e32979e9
This diff is collapsed.
Click to expand it.
src/views/home/index.vue
View file @
e32979e9
This diff is collapsed.
Click to expand it.
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