I want to perform ML in the browser with "autosklearn" via Pyodide. I think Im supposed to load micropip and then use that to load autosklearn from PyPI. But Im getting a CORS error and not sure how Im supposed to go about this. Pyodide and PyPI shouldn't have any CORS restrictions right?
Heres how Im loading the initial packages
pyodide = await loadPyodide({
indexURL: 'https://cdn.jsdelivr.net/pyodide/v0.18.1/full/',
});
await pyodide.loadPackage(['scikit-learn', 'micropip']);
Heres the browser code
pyodide.runPython(
`
import micropip
micropip.install('autosklearn')
import autosklearn.classification
`,
);