clearml-docs/docs/webapp/applications/apps_gradio.md
2024-05-05 12:37:06 +03:00

3.0 KiB

title
Gradio Launcher

:::info Enterprise Feature The Gradio Launcher App is available under the ClearML Enterprise plan. :::

Gradio is a framework for creating visual web interfaces for your models. The ClearML Gradio launcher application spins up a Gradio execution environment and serves your Gradio app on a machine of your choice. Once you start a Gradio launcher instance, you will be provided with an externally accessible link to your Gradio app, where you can make use of your models.

The Gradio launcher monitors the Gradio app activity and shuts down if it is inactive for a specified maximum idle time.

:::important Task Traffic Router The Gradio Launcher relies on the ClearML Traffic Router which facilitates user authentication, and redirects requests to the IP/port served by the Gradio app. :::

Once you start a Gradio launcher instance, you can view the following information in its dashboard:

  • Gradio App status indicator
    • Active server - App is running and is actively in use
    • Loading server - App is setting up
    • Idle server - App is idle
    • Stopped server - App is stopped
  • Idle time
  • Gradio App - Externally accessible link to your Gradio app. You can send this link to your colleagues, so they can access the app. Click Copy to copy link
  • Gradio Git repo - Repository that holds the Gradio app script
  • Live preview of the Gradio app
  • Console Log - The console log shows the launcher instance's activity, including server setup progress, server status changes

Gradio Launcher Instance Configuration