Commit e32979e9 authored by 周成波's avatar 周成波

增加是否需要字幕

parent 20d1cf3d
...@@ -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']
......
...@@ -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) {
......
This diff is collapsed.
This diff is collapsed.
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