[feat] added inlay emotion/imggen & rework imggen
This commit is contained in:
@@ -9,6 +9,7 @@ import { selectedCharID } from "./stores";
|
||||
import { checkCharOrder, downloadFile, getFileSrc, readImage } from "./storage/globalApi";
|
||||
import * as yuso from 'yuso'
|
||||
import { reencodeImage } from "./image";
|
||||
import { updateInlayScreen } from "./process/inlayScreen";
|
||||
|
||||
export function createNewCharacter() {
|
||||
let db = get(DataBase)
|
||||
@@ -300,6 +301,9 @@ export function characterFormatUpdate(index:number|character){
|
||||
depth: 0,
|
||||
prompt: ''
|
||||
}
|
||||
if(!cha.newGenData){
|
||||
cha = updateInlayScreen(cha)
|
||||
}
|
||||
}
|
||||
else{
|
||||
if((!cha.characterTalks) || cha.characterTalks.length !== cha.characters.length){
|
||||
|
||||
Reference in New Issue
Block a user