mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-19 04:50:12 +01:00
onnx runtime to web
This commit is contained in:
parent
b605b940eb
commit
307e666c27
@ -1,6 +1,8 @@
|
||||
import { pipeline, TextClassificationPipeline } from 'sillytavern-transformers';
|
||||
import { pipeline, TextClassificationPipeline, env } from 'sillytavern-transformers';
|
||||
import path from 'path';
|
||||
|
||||
env.backends.onnx = 'onnxruntime-web';
|
||||
|
||||
class PipelineAccessor {
|
||||
/**
|
||||
* @type {TextClassificationPipeline}
|
||||
|
Loading…
Reference in New Issue
Block a user