mirror of
https://github.com/open-webui/open-webui
synced 2025-02-07 13:34:55 +00:00
fix
This commit is contained in:
parent
8766d2699a
commit
1b6700425a
@ -184,7 +184,7 @@
|
|||||||
code.includes('numpy') ? 'numpy' : null,
|
code.includes('numpy') ? 'numpy' : null,
|
||||||
code.includes('pandas') ? 'pandas' : null,
|
code.includes('pandas') ? 'pandas' : null,
|
||||||
code.includes('matplotlib') ? 'matplotlib' : null,
|
code.includes('matplotlib') ? 'matplotlib' : null,
|
||||||
code.includes('scikit-learn') ? 'sklearn' : null,
|
code.includes('sklearn') ? 'scikit-learn' : null,
|
||||||
code.includes('scipy') ? 'scipy' : null,
|
code.includes('scipy') ? 'scipy' : null,
|
||||||
code.includes('re') ? 'regex' : null
|
code.includes('re') ? 'regex' : null
|
||||||
].filter(Boolean);
|
].filter(Boolean);
|
||||||
@ -233,11 +233,13 @@ __builtins__.input = input`);
|
|||||||
code.includes('bs4') ? 'beautifulsoup4' : null,
|
code.includes('bs4') ? 'beautifulsoup4' : null,
|
||||||
code.includes('numpy') ? 'numpy' : null,
|
code.includes('numpy') ? 'numpy' : null,
|
||||||
code.includes('pandas') ? 'pandas' : null,
|
code.includes('pandas') ? 'pandas' : null,
|
||||||
code.includes('scikit-learn') ? 'sklearn' : null,
|
code.includes('sklearn') ? 'scikit-learn' : null,
|
||||||
code.includes('scipy') ? 'scipy' : null,
|
code.includes('scipy') ? 'scipy' : null,
|
||||||
code.includes('re') ? 'regex' : null
|
code.includes('re') ? 'regex' : null
|
||||||
].filter(Boolean);
|
].filter(Boolean);
|
||||||
|
|
||||||
|
console.log(packages);
|
||||||
|
|
||||||
const pyodideWorker = new PyodideWorker();
|
const pyodideWorker = new PyodideWorker();
|
||||||
|
|
||||||
pyodideWorker.postMessage({
|
pyodideWorker.postMessage({
|
||||||
|
Loading…
Reference in New Issue
Block a user