Commit Graph

12 Commits

Author SHA1 Message Date
Freddy Boulton
4bf301324b
Lint website (#4879) 2023-07-11 21:00:52 -04:00
Yuichiro Tachibana (Tsuchiya)
76acf3cb0b
Lite: Fix the markdown-it package name spec on the Wasm worker (#4846)
* Fix the package name spec of markdown-it on the Wasm worker

* Add changeset
2023-07-10 10:03:21 +01:00
Yuichiro Tachibana (Tsuchiya)
f0150c6260
Lite: unload local modules before executing Python scripts (#4826)
* Unload the local modules before re-executing a Python script

* Add changeset
2023-07-10 10:03:09 +01:00
pngwn
7fa5e766ce
format (#4810) 2023-07-06 18:43:49 +01:00
Yuichiro Tachibana (Tsuchiya)
da0e94479a
Lite: Add methods to run Python files mounted on a virtual file system, and unmount() method (#4785)
* Create WorkerProxy.runPythonFile() to run a mounted Python file and rename .runPythonAsync() to .runPythonCode()

* Fix lite/index.html and app/lite/index.ts adjusting the new option name

* Add changeset

* Add controller.unmount()

* Add changeset

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-07-06 11:43:14 +01:00
pngwn
ea889fa8c4
unit tests for shared component functionality (#4794)
* add more tests

* fixes

* fixes

* fixes

* fix testmatch
2023-07-06 10:55:45 +01:00
Yuichiro Tachibana (Tsuchiya)
cb96d657b4
Lite: refactoring the dev script (#4753)
* Rename the 'start' npm command to 'dev' for in-project consistency

* Fix the 'dev:lite' npm command to launch the dev command of @gradio/wasm as well

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 15:35:58 +01:00
Yuichiro Tachibana (Tsuchiya)
80b4996595
Lite: filesystem and requirements installer (#4779) 2023-07-04 14:11:22 +01:00
Yuichiro Tachibana (Tsuchiya)
f9171288d4
Introduce CrossOriginWorker class to load the WebWorker file from a different domain (#4731)
* Introduce CrossOriginWorker class as a workaround to load the webworker.js served from a domain different from the main page

* Update the changesets

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-06-29 21:07:04 +01:00
pngwn
c0baeb4d1c
Fix 123 (#4725)
* fix

* fix again

* fix again

* fix again

* fix again

* fix again

* fix again

* try this?
2023-06-29 14:47:46 +01:00
pngwn
dbb33723fe
Fix 123 (#4724)
* fix

* fix again

* fix again

* fix again

* fix again

* fix again

* fix again
2023-06-29 14:28:55 +01:00
Yuichiro Tachibana (Tsuchiya)
4fbdefe94e
Gradio-lite (Gradio Wasm) (#4402) 2023-06-27 08:09:50 +01:00