Fix conditional rendering in

OtherBotSettings.svelte

Signed-off-by: hashcoko <hashcoko@gmail.com>
This commit is contained in:
hashcoko
2023-11-28 03:57:09 +09:00
parent 5983e3883f
commit 70adcedc46
2 changed files with 1 additions and 2 deletions

View File

@@ -95,7 +95,7 @@
<span class="text-textcolor">CFG scale</span>
<NumberInput size="sm" marginBottom min={0} max={2048} bind:value={$DataBase.NAIImgConfig.scale}/>
{#if !$DataBase.NAII2I}
{#if !$DataBase.NAII2I || $DataBase.NAIImgConfig.sampler === 'ddim_v3'}
<Check bind:check={$DataBase.NAIImgConfig.sm} name="Use SMEA"/>
<Check bind:check={$DataBase.NAIImgConfig.sm_dyn} name='Use DYN'/>
{/if}

View File

@@ -159,7 +159,6 @@ export async function sayTTS(character:character,text:string) {
});
} else {
alertError("Error fetching or decoding audio data");
console.log(response);
}
break;
}