Merge pull request #2436 from open-webui/dev

fix: >:(
This commit is contained in:
Timothy Jaeryang Baek 2024-05-20 16:21:31 -10:00 committed by GitHub
commit 3355577bac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@
try {
const micropip = pyodide.pyimport('micropip');
await micropip.set_index_urls('https://pypi.org/pypi/{package_name}/json');
// await micropip.set_index_urls('https://pypi.org/pypi/{package_name}/json');
let packages = [
code.includes('requests') ? 'requests' : null,

View File

@ -42,7 +42,7 @@ async function loadPyodideAndPackages(packages: string[] = []) {
const micropip = self.pyodide.pyimport('micropip');
await micropip.set_index_urls('https://pypi.org/pypi/{package_name}/json');
// await micropip.set_index_urls('https://pypi.org/pypi/{package_name}/json');
await micropip.install(packages);
}