Commit 8766d269 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: include packages

parent 7f90d813
......@@ -183,7 +183,10 @@
code.includes('bs4') ? 'beautifulsoup4' : null,
code.includes('numpy') ? 'numpy' : null,
code.includes('pandas') ? 'pandas' : null,
code.includes('matplotlib') ? 'matplotlib' : null
code.includes('matplotlib') ? 'matplotlib' : null,
code.includes('scikit-learn') ? 'sklearn' : null,
code.includes('scipy') ? 'scipy' : null,
code.includes('re') ? 'regex' : null
].filter(Boolean);
console.log(packages);
......@@ -230,7 +233,9 @@ __builtins__.input = input`);
code.includes('bs4') ? 'beautifulsoup4' : null,
code.includes('numpy') ? 'numpy' : null,
code.includes('pandas') ? 'pandas' : null,
code.includes('matplotlib') ? 'matplotlib' : null
code.includes('scikit-learn') ? 'sklearn' : null,
code.includes('scipy') ? 'scipy' : null,
code.includes('re') ? 'regex' : null
].filter(Boolean);
const pyodideWorker = new PyodideWorker();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment