Tue Jul 4 03:47:00 UTC 2023 inscode

上级 0e99d0c7
...@@ -97,8 +97,16 @@ ...@@ -97,8 +97,16 @@
d="M6 12L3.269 3.126A59.768 59.768 0 0121.485 12 59.77 59.77 0 013.27 20.876L5.999 12zm0 0h7.5" /> d="M6 12L3.269 3.126A59.768 59.768 0 0121.485 12 59.77 59.77 0 013.27 20.876L5.999 12zm0 0h7.5" />
</svg> </svg>
</div> </div>
<div class="w-full h-10 flex mt-2 pr-12"> <div class="w-full h-10 mt-2 pr-12 flex gap-2">
<input v-model="prompt" class="flex-auto ring-0 outline-0 pl-2 bg-slate-200 h-10" v-on:keyup.enter="query" placeholder="逆向提示词" /> <input v-model="prompt" class="flex-auto ring-0 outline-0 pl-2 bg-slate-200 h-10" v-on:keyup.enter="query" placeholder="逆向提示词" />
<div class="flex-none w-40 ring-0 outline-0 pl-2 h-10 flex justify-between">
<input v-model="width" class="ring-0 outline-0 pl-2 bg-slate-200 h-10 w-16" placeholder="width"/>
<span class="h-10 leading-10">*</span>
<input v-model="height" class="ring-0 outline-0 pl-2 bg-slate-200 h-10 w-16" placeholder="height"/>
</div>
<input v-model="steps" class="flex-none w-30 ring-0 outline-0 pl-2 bg-slate-200 h-10 w-16" placeholder="steps"/>
<input v-model="sampler" class="flex-none w-40 ring-0 outline-0 pl-2 bg-slate-200 h-10 w-16 text-small" placeholder="sampler"/>
</div> </div>
...@@ -163,6 +171,10 @@ export default { ...@@ -163,6 +171,10 @@ export default {
autoSpeech: false, // 是否自动开始语音 autoSpeech: false, // 是否自动开始语音
speech: null, // 语音object speech: null, // 语音object
showProfileSetting: false, //是否显示角色设置模块 showProfileSetting: false, //是否显示角色设置模块
width: 512,
height: 512,
steps: 20,
sampler: 'DPM++ SDE Karras',
} }
}, },
methods: { methods: {
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
module.exports = { module.exports = {
content: [ content: [
"./index.html", "./index.html",
"./src/*.{vue,js,ts,jsx,tsx}",
"./src/**/*.{vue,js,ts,jsx,tsx}", "./src/**/*.{vue,js,ts,jsx,tsx}",
], ],
theme: { theme: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册