From 77e7843f7a8dd34bf28c2341fe0d47eea17d4066 Mon Sep 17 00:00:00 2001 From: Abubakar Abid Date: Thu, 19 Oct 2023 11:15:01 -0700 Subject: [PATCH] Quick fixes to the gradio/lite guide (#6020) * changeset * fix link * fix spelling --------- Co-authored-by: aliabd --- .changeset/lite-fake-patch.md | 5 +++++ .../{serverless-gradio.md => gradio-lite.md} | 2 ++ js/_website/src/routes/playground/+page.svelte | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/lite-fake-patch.md rename guides/08_other-tutorials/{serverless-gradio.md => gradio-lite.md} (99%) diff --git a/.changeset/lite-fake-patch.md b/.changeset/lite-fake-patch.md new file mode 100644 index 0000000000..0afc59a543 --- /dev/null +++ b/.changeset/lite-fake-patch.md @@ -0,0 +1,5 @@ +--- +"gradio": patch +--- + +fix: Adds Gradio/lite Guide and Playground to the website diff --git a/guides/08_other-tutorials/serverless-gradio.md b/guides/08_other-tutorials/gradio-lite.md similarity index 99% rename from guides/08_other-tutorials/serverless-gradio.md rename to guides/08_other-tutorials/gradio-lite.md index fb5b20d076..400cecb26a 100644 --- a/guides/08_other-tutorials/serverless-gradio.md +++ b/guides/08_other-tutorials/gradio-lite.md @@ -1,5 +1,7 @@ # Gradio-Lite: Serverless Gradio Running Entirely in Your Browser +Tags: SERVERLESS, BROWSER, PYODIDE + Gradio is a popular Python library for creating interactive machine learning apps. Traditionally, Gradio applications have relied on server-side infrastructure to run, which can be a hurdle for developers who need to host their applications. Enter Gradio-lite (`@gradio/lite`): a library that leverages [Pyodide](https://pyodide.org/en/stable/) to bring Gradio directly to your browser. In this blog post, we'll explore what `@gradio/lite` is, go over example code, and discuss the benefits it offers for running Gradio applications. diff --git a/js/_website/src/routes/playground/+page.svelte b/js/_website/src/routes/playground/+page.svelte index ce6f4859e1..225f65d3ec 100644 --- a/js/_website/src/routes/playground/+page.svelte +++ b/js/_website/src/routes/playground/+page.svelte @@ -34,7 +34,7 @@ + href="https://gradio.app/guides/gradio-lite"> Gradio Lite package.