From 8a093e23d7993a044e5e0ff73f93a74cb75dad56 Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Wed, 27 Dec 2023 17:29:43 +0900 Subject: [PATCH] Add a dev instruction for lite in SharedWorker mode (#6778) * Add a dev instruction for lite in SharedWorker mode which is confusing like https://github.com/gradio-app/gradio/pull/6398#issuecomment-1849880619 * add changeset --------- Co-authored-by: gradio-pr-bot --- .changeset/busy-jobs-exist.md | 6 ++++++ js/app/src/lite/dev/App.svelte | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 .changeset/busy-jobs-exist.md diff --git a/.changeset/busy-jobs-exist.md b/.changeset/busy-jobs-exist.md new file mode 100644 index 0000000000000..a2087cbcddb0a --- /dev/null +++ b/.changeset/busy-jobs-exist.md @@ -0,0 +1,6 @@ +--- +"@gradio/app": minor +"gradio": minor +--- + +feat:Add a dev instruction for lite in SharedWorker mode diff --git a/js/app/src/lite/dev/App.svelte b/js/app/src/lite/dev/App.svelte index 085e6e7c588dc..76b1e6347b951 100644 --- a/js/app/src/lite/dev/App.svelte +++ b/js/app/src/lite/dev/App.svelte @@ -118,6 +118,12 @@ def hi(name):
+
+ When the SharedWorker mode is enabled, access the URL below (for Chrome) and + click the "inspect" link of the worker to show the console log emitted from + the worker. +
chrome://inspect/#workers
+

Files