Change setDatabase and getDatabase to accessing dbState

This commit is contained in:
kwaroran
2024-10-25 19:11:41 +09:00
parent 7d43075528
commit e255199fcc
37 changed files with 142 additions and 159 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { ParseMarkdown } from "src/ts/parser";
import { ParseMarkdown } from "src/ts/parser.svelte";
import TextAreaInput from "../UI/GUI/TextAreaInput.svelte";
let input = $state("");
let output = $state("");

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { Template } from '@huggingface/jinja';
import TextAreaInput from "../UI/GUI/TextAreaInput.svelte";
import { risuChatParser } from 'src/ts/parser';
import { risuChatParser } from 'src/ts/parser.svelte';
import { language } from 'src/lang';
import { sleep } from 'src/ts/util';
let input = $state("");