Skip to content

Commit

Permalink
nit: web example: allow local model (don't always download on every run)
Browse files Browse the repository at this point in the history
  • Loading branch information
sroussey committed Jan 30, 2025
1 parent fb65e88 commit 6485070
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { registerHuggingfaceLocalModels } from "ellmers-test";
import { env } from "@huggingface/transformers";

env.backends.onnx.wasm.proxy = true;
env.allowLocalModels = true;

const ProviderRegistry = getProviderRegistry();

Expand Down

0 comments on commit 6485070

Please sign in to comment.