gradio/js/app
Yuichiro Tachibana (Tsuchiya) d84209703b
Lite: SharedWorker mode (#6099)
* Create the SharedWorker mode

* Fix the app_id management mechanism to be context-based so it works properly with run_file() and run_code()

* Adjust updateProgress() for the SharedWorker mode

* Make `get_continuous_fn()` Wasm-compatible in order for the created function not to occupy the thread with a loop with `time.sleep()` which is no-op in the Wasm env

* add changeset

* Add the `shared-worker` option to the custom-element API

* Apply formatter to js/app/src/lite/index.ts

* format

* Revert pnpm-lock.yml file version which is not needed to be changed in this PR

* Fix the unittest for `get_continuous_fn()`

* Fix the unit test because `anext()` is not available in Python 3.8, which is used in the CI env

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-13 17:32:00 +09:00
..
public Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
src Lite: SharedWorker mode (#6099) 2023-11-13 17:32:00 +09:00
test Provide status updates on file uploads (#6307) 2023-11-07 19:02:31 -05:00
.gitignore Prebuild lite css (#4788) 2023-07-06 11:38:15 +01:00
build_plugins.ts Improve Embed and CDN handling and fix a couple of related bugs (#6261) 2023-11-02 22:29:03 +00:00
CHANGELOG.md chore: update versions (#6331) 2023-11-10 15:12:33 -08:00
component_loader.js Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
index.html Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00
lite.html Lite: PoC of an online editor (#4809) 2023-07-10 10:00:05 +01:00
package.json chore: update versions (#6331) 2023-11-10 15:12:33 -08:00
postcss.config.js move files (#3605) 2023-03-27 16:12:58 -07:00
vite.config.ts Improve Embed and CDN handling and fix a couple of related bugs (#6261) 2023-11-02 22:29:03 +00:00