Add image selection feature to

OtherBotSettings.svelte

Signed-off-by: hashcoko <hashcoko@gmail.com>
This commit is contained in:
hashcoko
2023-11-27 10:21:42 +09:00
parent 084e9151f2
commit 855201b2e2
3 changed files with 36 additions and 11 deletions

View File

@@ -253,7 +253,8 @@ export function setDatabase(data:Database){
sm:true,
sm_dyn:true,
noise:0.0,
strength:0.3
strength:0.3,
image:""
}
}
if(checkNullish(data.customTextTheme)){
@@ -756,7 +757,8 @@ interface NAIImgConfig{
sm:boolean,
sm_dyn:boolean,
noise:number,
strength:number
strength:number,
image:string
}
export type FormatingOrderItem = 'main'|'jailbreak'|'chats'|'lorebook'|'globalNote'|'authorNote'|'lastChat'|'description'|'postEverything'|'personaPrompt'