Deploying Gradio Applications
Learn different ways to share and deploy Gradio applications!
We'll cover the following
Overview
In this lesson, we will explore different ways to deploy and share our Gradio applications. In this course so far, we have launched our Gradio applications in a simple web server. However, there are more options for deployment, particularly when we want to share our applications.
Sharing demos publicly
The simplest way to share your Gradio applications is via the share
parameter in the launch
method. This is a boolean, and by default, it is set to False
. However, if we set it to True
, it will create an SSH tunnel that will make the UI accessible from anywhere. A shareable link will be created, and for up to 72 hours from the creation of this link, anyone who copies the link into their browser can use the application. To demonstrate this, we will add share=True
to our property viewer application in line 328, and note the creation of the shareable link.
Get hands-on with 1300+ tech skills courses.