From 4be0933d3a39099fd573d7db42416d7acef7f40f Mon Sep 17 00:00:00 2001 From: Ali Abdalla Date: Thu, 19 Sep 2024 16:13:02 +0400 Subject: [PATCH] Fix gradio.js aws path (#9397) * fix folder path for beta * add changeset --------- Co-authored-by: gradio-pr-bot --- .changeset/some-clocks-think.md | 5 +++++ js/_website/src/lib/components/VersionDropdown.svelte | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/some-clocks-think.md diff --git a/.changeset/some-clocks-think.md b/.changeset/some-clocks-think.md new file mode 100644 index 0000000000000..6d5a917d2ee32 --- /dev/null +++ b/.changeset/some-clocks-think.md @@ -0,0 +1,5 @@ +--- +"website": minor +--- + +feat:Fix gradio.js aws path diff --git a/js/_website/src/lib/components/VersionDropdown.svelte b/js/_website/src/lib/components/VersionDropdown.svelte index 46477f35b0fcf..1a7a96ba9bc1f 100644 --- a/js/_website/src/lib/components/VersionDropdown.svelte +++ b/js/_website/src/lib/components/VersionDropdown.svelte @@ -58,7 +58,7 @@ type="module" src="https://gradio.s3-us-west-2.amazonaws.com/{value === 'main' ? version.replace('b', '-beta.') - : value}/gradio.js" + : value.replace('b', '-beta.')}/gradio.js" >