Merge branch 'main' of https://github.com/kwaroran/RisuAI
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
<OptionInput value="novelai" >Novel AI</OptionInput>
|
||||
<OptionInput value="dalle" >Dall-E</OptionInput>
|
||||
<OptionInput value="stability" >Stability API</OptionInput>
|
||||
<OptionInput value="comfy" >ComfyUI</OptionInput>
|
||||
</SelectInput>
|
||||
|
||||
{#if $DataBase.sdProvider === 'webui'}
|
||||
@@ -243,6 +244,28 @@
|
||||
</SelectInput>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{#if $DataBase.sdProvider === 'comfy'}
|
||||
<span class="text-draculared text-xs mb-2">The first image generated by the prompt will be selected. </span>
|
||||
{#if !isTauri}
|
||||
<span class="text-draculared text-xs mb-2">"Please run comfyUI with --enable-cors-header."</span>
|
||||
{/if}
|
||||
<span class="text-textcolor mt-2">ComfyUI {language.providerURL}</span>
|
||||
<TextInput size="sm" marginBottom placeholder="http://127.0.0.1:8188" bind:value={$DataBase.comfyUiUrl}/>
|
||||
<span class="text-textcolor">Workflow</span>
|
||||
<TextInput size="sm" marginBottom placeholder="valid ComfyUI API json (Enable Dev mode Options in ComfyUI)" bind:value={$DataBase.comfyConfig.workflow}/>
|
||||
|
||||
<span class="text-textcolor">Positive Text Node: ID</span>
|
||||
<TextInput size="sm" marginBottom placeholder="eg. 1, 3, etc" bind:value={$DataBase.comfyConfig.posNodeID}/>
|
||||
<span class="text-textcolor">Positive Text Node: Input Field Name</span>
|
||||
<TextInput size="sm" marginBottom placeholder="eg. text" bind:value={$DataBase.comfyConfig.posInputName}/>
|
||||
<span class="text-textcolor">Negative Text Node: ID</span>
|
||||
<TextInput size="sm" marginBottom placeholder="eg. 1, 3, etc" bind:value={$DataBase.comfyConfig.negNodeID}/>
|
||||
<span class="text-textcolor">Positive Text Node: Input Field Name</span>
|
||||
<TextInput size="sm" marginBottom placeholder="eg. text" bind:value={$DataBase.comfyConfig.negInputName}/>
|
||||
<span class="text-textcolor">Timeout (sec)</span>
|
||||
<NumberInput size="sm" marginBottom bind:value={$DataBase.comfyConfig.timeout} min={1} max={120} />
|
||||
{/if}
|
||||
</Arcodion>
|
||||
|
||||
<Arcodion name="TTS" styled>
|
||||
@@ -370,4 +393,4 @@
|
||||
<Check bind:check={$DataBase.hypaMemory} name={language.enable + ' ' + language.HypaMemory}/>
|
||||
</div>
|
||||
{/if}
|
||||
</Arcodion>
|
||||
</Arcodion>
|
||||
|
||||
Reference in New Issue
Block a user