fix: incorrect path for model file

This commit is contained in:
alikia2x (寒寒) 2025-03-29 18:52:44 +08:00
parent 879a6604e5
commit be3ff00edc
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6
2 changed files with 3 additions and 3 deletions

View File

@ -4,4 +4,4 @@
// SO HERE'S A PLACHOLDER EXPORT FOR DENO:
export const DENO = "FUCK YOU DENO";
// Oh, maybe export the version is a good idea
export const VERSION = "1.0.12";
export const VERSION = "1.0.13";

View File

@ -5,8 +5,8 @@ import { WorkerError } from "mq/schema.ts";
import { AutoTokenizer, PreTrainedTokenizer } from "@huggingface/transformers";
const tokenizerModel = "alikia2x/jina-embedding-v3-m2v-1024";
const onnxClassifierPath = "./model/akari/3.17.onnx";
const onnxEmbeddingPath = "./model/embedding/model.onnx";
const onnxClassifierPath = "../../model/akari/3.17.onnx";
const onnxEmbeddingPath = "../../model/embedding/model.onnx";
class AkariProto extends AIManager {
private tokenizer: PreTrainedTokenizer | null = null;