[Fix] NAI TTS Cors ERR

Signed-off-by: hashcoko <hashcoko@gmail.com>
This commit is contained in:
hashcoko
2023-11-28 03:45:34 +09:00
parent 9432b63606
commit 5983e3883f
3 changed files with 11 additions and 9 deletions

View File

@@ -12,11 +12,11 @@
import VisualNovelMain from "../VisualNovel/VisualNovelMain.svelte";
let openChatList = false
$:{
if ($DataBase.translatorType === 'submodel'){
$DataBase.useStreaming = false
}
if ($DataBase.translatorType === 'submodel'){
$DataBase.useStreaming = false
}
const wallPaper = `background: url(${defaultWallpaper})`
const externalStyles =
("background: " + ($DataBase.textScreenColor ? ($DataBase.textScreenColor + '80') : "rgba(0,0,0,0.8)") + ';\n')