[fix] chub and description in web
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/png" href="/logo.png" />
|
<link rel="icon" type="image/png" href="/logo.png" />
|
||||||
|
<meta name="description" content="An AI frontend for both light and core users.">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>RisuAI</title>
|
<title>RisuAI</title>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import { language } from "src/lang";
|
import { language } from "src/lang";
|
||||||
import Help from "src/lib/Others/Help.svelte";
|
import Help from "src/lib/Others/Help.svelte";
|
||||||
import { DataBase } from "src/ts/storage/database";
|
import { DataBase } from "src/ts/storage/database";
|
||||||
import { customProviderStore, getCurrentPluginMax } from "src/ts/process/plugins";
|
import { customProviderStore, getCurrentPluginMax } from "src/ts/plugins/plugins";
|
||||||
import { isTauri } from "src/ts/storage/globalApi";
|
import { isTauri } from "src/ts/storage/globalApi";
|
||||||
import { tokenize } from "src/ts/tokenizer";
|
import { tokenize } from "src/ts/tokenizer";
|
||||||
import ModelList from "src/lib/UI/ModelList.svelte";
|
import ModelList from "src/lib/UI/ModelList.svelte";
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ export async function characterHubImport() {
|
|||||||
const url = new URL(location.href);
|
const url = new URL(location.href);
|
||||||
url.searchParams.delete('charahub');
|
url.searchParams.delete('charahub');
|
||||||
window.history.pushState(null, '', url.toString());
|
window.history.pushState(null, '', url.toString());
|
||||||
const chara = await fetch("https://api.characterhub.org/api/characters/download", {
|
const chara = await fetch("https://api.chub.ai/api/characters/download", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
"format": "tavern",
|
"format": "tavern",
|
||||||
|
|||||||
Reference in New Issue
Block a user