mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
feat: seaborn added to pyodide
Co-Authored-By: Silentoplayz <50341825+Silentoplayz@users.noreply.github.com>
This commit is contained in:
parent
a5fa881d4a
commit
5961fc84f4
@ -6,7 +6,8 @@ const packages = [
|
||||
'matplotlib',
|
||||
'scikit-learn',
|
||||
'scipy',
|
||||
'regex'
|
||||
'regex',
|
||||
'seaborn'
|
||||
];
|
||||
|
||||
import { loadPyodide } from 'pyodide';
|
||||
|
@ -186,7 +186,8 @@
|
||||
code.includes('matplotlib') ? 'matplotlib' : null,
|
||||
code.includes('sklearn') ? 'scikit-learn' : null,
|
||||
code.includes('scipy') ? 'scipy' : null,
|
||||
code.includes('re') ? 'regex' : null
|
||||
code.includes('re') ? 'regex' : null,
|
||||
code.includes('seaborn') ? 'seaborn' : null
|
||||
].filter(Boolean);
|
||||
|
||||
console.log(packages);
|
||||
@ -235,7 +236,8 @@ __builtins__.input = input`);
|
||||
code.includes('pandas') ? 'pandas' : null,
|
||||
code.includes('sklearn') ? 'scikit-learn' : null,
|
||||
code.includes('scipy') ? 'scipy' : null,
|
||||
code.includes('re') ? 'regex' : null
|
||||
code.includes('re') ? 'regex' : null,
|
||||
code.includes('seaborn') ? 'seaborn' : null
|
||||
].filter(Boolean);
|
||||
|
||||
console.log(packages);
|
||||
|
Loading…
Reference in New Issue
Block a user