Lite auto-load imported modules with `pyodide.loadPackagesFromImports` (#9726)
* Call pyodide.loadPackagesFromImports() for each Python file and dispatch an event including the result
* Fix
* Call pyodide.loadPackagesFromImports from run_code
* Update DemosLite to listen the modules-auto-loaded event and upload the requirements automatically
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>