Table of Contents
2.4.0dev

Home

  • Welcome to ⚡ Lightning
  • Install

Get started in steps

  • Basic skills
  • Intermediate skills
  • Advanced skills

Core API Reference

  • LightningApp
  • LightningFlow
  • LightningWork

Addons API Reference

  • lightning.app.components
  • lightning.app.frontend
  • lightning.app.runners
  • lightning.app.storage

More

  • Examples
  • Glossary
  • How to:
  • Overview
  • Team management
  • Production
  • Security
  • Open source
    • Overview
    • PyTorch Lightning
    • Fabric
    • Lit-GPT
    • Torchmetrics
    • Litdata
    • Lit LLaMA
    • Litserve
  • Examples
  • Glossary
  • FAQ
  • Docs >
  • Add a web UI with Gradio
Shortcuts

Add a web UI with Gradio¶

1: Connect Gradio

Learn how to connect Gradio to a Lightning Component.

basic

2: Enable two-way communication

Enable two-way communication between Gradio and a Lightning App.

[documentation coming soon]


Examples¶

Here are a few example apps that use a Gradio web UI.

Example 1

Show off your work! Contribute an example.

Waiting for contributed example

Example 2

Show off your work! Contribute an example.

Waiting for contributed example

Example 3

Show off your work! Contribute an example.

Waiting for contributed example

  • Add a web UI with Gradio
    • Examples

To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow our usage of cookies. Read PyTorch Lightning's Privacy Policy.