Skip to content

Commit

Permalink
fix: update worker.js path in index.html for correct working in web p…
Browse files Browse the repository at this point in the history
…roject
  • Loading branch information
cazzhd committed Jun 11, 2024
1 parent b36b5b4 commit 0d57259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 04-chatgpt-local/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
const SELECTED_MODEL = 'Llama-3-8B-Instruct-q4f32_1-MLC-1k'

const engine = await CreateWebWorkerMLCEngine(
new Worker('/worker.js', { type: 'module' }),
new Worker('./worker.js', { type: 'module' }),
SELECTED_MODEL,
{
initProgressCallback: (info) => {
Expand Down

0 comments on commit 0d57259

Please sign in to comment.