Revert "【sd】增加中文判断"

This reverts commit 47636a8a87a3f4b4d4e1bd36ca05eb65b9a66167.
pull/470/MERGE
cherishsince 2024-07-02 21:58:33 +08:00
parent 9c43594010
commit 16d53bbf4b
1 changed files with 1 additions and 11 deletions

View File

@ -88,14 +88,6 @@
</div>
</el-space>
</div>
<div class="model">
<div>
<el-text tag="b">参考图</el-text>
</div>
<el-space wrap class="model-list">
<UploadImg v-model="referImage" height="80px" width="80px" />
</el-space>
</div>
<div class="btns">
<!-- <el-button size="large" round>重置内容</el-button>-->
<el-button type="primary" size="large" round @click="handlerGenerateImage"></el-button>
@ -126,7 +118,6 @@ interface ImageSizeVO {
//
const prompt = ref<string>('') //
const referImage = ref<any>() //
const selectHotWord = ref<string>('') //
const hotWords = ref<string[]>(['中国旗袍', '古装美女', '卡通头像', '机甲战士', '童话小屋', '中国长城']) //
const selectModel = ref<any>() //
@ -256,7 +247,6 @@ const handlerGenerateImage = async () => {
await message.confirm(`确认生成内容?`)
// todo @
try {
console.log('referImage.value', referImage.value)
//
emits('onDrawStart', selectModel.value.key)
//
@ -266,7 +256,7 @@ const handlerGenerateImage = async () => {
width: selectImageSize.value.width,
height: selectImageSize.value.height,
version: selectVersion.value,
referImageUrl: referImage.value,
base64Array: [],
} as ImageMidjourneyImagineReqVO
await ImageApi.midjourneyImagine(req)
} finally {