feat: add dalle quality

This commit is contained in:
kwaroran
2024-05-31 13:35:26 +09:00
parent 760d1dd334
commit eae826d438
2 changed files with 13 additions and 2 deletions

View File

@@ -194,8 +194,17 @@
{/if}
<span class="text-textcolor">OpenAI API Key</span>
<TextInput size="sm" marginBottom placeholder="sk-..." bind:value={$DataBase.openAIKey}/>
{#if $DataBase.sdProvider === 'dalle'}
<span class="text-textcolor">OpenAI API Key</span>
<TextInput size="sm" marginBottom placeholder="sk-..." bind:value={$DataBase.openAIKey}/>
<span class="text-textcolor mt-4">Dall-E Quality</span>
<SelectInput className="mt-2 mb-4" bind:value={$DataBase.dallEQuality}>
<OptionInput value="standard" >Standard</OptionInput>
<OptionInput value="hd" >HD</OptionInput>
</SelectInput>
{/if}
</Arcodion>
<Arcodion name="TTS" styled>