Merge branch 'kwaroran:main' into main

This commit is contained in:
HyperBlaze
2024-06-18 11:14:22 -07:00
committed by GitHub
22 changed files with 225 additions and 191 deletions

View File

@@ -14,7 +14,7 @@ import type { OobaChatCompletionRequestParams } from '../model/ooba';
export const DataBase = writable({} as any as Database)
export const loadedStore = writable(false)
export let appVer = "114.4.0"
export let appVer = "114.5.0"
export let webAppSubVer = ''
export function setDatabase(data:Database){
@@ -418,6 +418,7 @@ export function setDatabase(data:Database){
data.lineHeight ??= 1.25
data.stabilityModel ??= 'sd3-large'
data.stabllityStyle ??= ''
data.legacyTranslation ??= false
changeLanguage(data.language)
DataBase.set(data)
}
@@ -693,6 +694,7 @@ export interface Database{
stabilityModel: string
stabilityKey: string
stabllityStyle: string
legacyTranslation: boolean
}
export interface customscript{