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
90719b8a
Commit
90719b8a
authored
Jan 26, 2024
by
周成波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
step1
parent
1c4e5c44
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.vue
src/views/home/index.vue
+2
-2
No files found.
src/views/home/index.vue
View file @
90719b8a
...
@@ -48,7 +48,7 @@ const onSubmit = () => {
...
@@ -48,7 +48,7 @@ const onSubmit = () => {
.
catch
((
err
:
any
)
=>
{
.
catch
((
err
:
any
)
=>
{
console
.
log
(
err
);
console
.
log
(
err
);
ElMessage
({
ElMessage
({
message
:
"
操作失败
"
+
err
,
message
:
"
chatgpt通讯失败。
"
+
err
,
type
:
"error"
,
type
:
"error"
,
});
});
});
});
...
@@ -66,7 +66,7 @@ const onSubmit = () => {
...
@@ -66,7 +66,7 @@ const onSubmit = () => {
<el-divider
content-position=
"left"
>
text2video
</el-divider>
<el-divider
content-position=
"left"
>
text2video
</el-divider>
<el-form
:model=
"form"
label-width=
"114px"
>
<el-form
:model=
"form"
label-width=
"114px"
>
<el-form-item
label=
"chatgpt prompt"
v-if=
"step === 1"
>
<el-form-item
label=
"chatgpt prompt"
v-if=
"step === 1"
>
<div
style=
"color:
red;"
>
示例:
请以末日求生为主题,写一段2分钟左右的短视频脚本,有10个分镜头,每个分镜头有场景、人物、镜头内容、中文旁白。人物要有明确的姓名。
</div>
<div
style=
"color:
blue;"
>
【示例】
请以末日求生为主题,写一段2分钟左右的短视频脚本,有10个分镜头,每个分镜头有场景、人物、镜头内容、中文旁白。人物要有明确的姓名。
</div>
<el-input
<el-input
v-model=
"form.chatgpt_prompt"
v-model=
"form.chatgpt_prompt"
:autosize=
"
{ minRows: 10, maxRows: 20 }"
:autosize=
"
{ minRows: 10, maxRows: 20 }"
...
...
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