mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 00:32:05 +00:00
feat: code input support
This commit is contained in:
parent
01a656cc80
commit
302a17b3ed
@ -169,6 +169,8 @@
|
||||
const res = await pyodide.loadPackage('micropip');
|
||||
console.log(res);
|
||||
|
||||
pyodide.setStdin({ stdin: () => prompt() });
|
||||
|
||||
const micropip = pyodide.pyimport('micropip');
|
||||
|
||||
await micropip.set_index_urls('https://pypi.org/pypi/{package_name}/json');
|
||||
|
Loading…
Reference in New Issue
Block a user