| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>Gradio - Build & Share Delightful Machine Learning Apps</title> |
| <link rel="stylesheet" href="style.css"> |
| <script src="https://cdn.tailwindcss.com"></script> |
| </head> |
| <body> |
| <custom-navbar></custom-navbar> |
| |
| <main class="mt-16"> |
| <section class="py-20 px-4 max-w-6xl mx-auto"> |
| <div class="text-center"> |
| <h1 class="text-4xl md:text-6xl font-bold text-gray-900 mb-6">Build & Share Delightful Machine Learning Apps</h1> |
| <p class="text-xl text-gray-600 mb-10 max-w-2xl mx-auto"> |
| Gradio is the fastest way to demo your machine learning model with a friendly web interface so that anyone can use it, anywhere! |
| </p> |
| <div class="flex gap-4 justify-center"> |
| <a href="/docs.html" class="bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-3 rounded-md font-medium">Get Started</a> |
| <a href="https://github.com/gradio-app/gradio" class="border border-gray-300 hover:bg-gray-50 px-6 py-3 rounded-md font-medium">GitHub</a> |
| </div> |
| </div> |
| </section> |
|
|
| <section class="py-20 bg-gray-50"> |
| <div class="max-w-6xl mx-auto px-4"> |
| <div class="text-center mb-16"> |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Why Gradio?</h2> |
| <p class="text-xl text-gray-600 max-w-2xl mx-auto"> |
| Gradio makes it easy for you to build and share your machine learning models. |
| </p> |
| </div> |
| <div class="grid md:grid-cols-3 gap-8"> |
| <div class="bg-white p-8 rounded-lg shadow-sm"> |
| <div class="text-indigo-600 text-2xl mb-4">π</div> |
| <h3 class="font-bold text-lg mb-2">Fast to Set Up</h3> |
| <p class="text-gray-600">Create a working demo of your ML model in just a few lines of code.</p> |
| </div> |
| <div class="bg-white p-8 rounded-lg shadow-sm"> |
| <div class="text-indigo-600 text-2xl mb-4">π</div> |
| <h3 class="font-bold text-lg mb-2">Shareable</h3> |
| <p class="text-gray-600">Get a shareable link or embed your demo directly in your website.</p> |
| </div> |
| <div class="bg-white p-8 rounded-lg shadow-sm"> |
| <div class="text-indigo-600 text-2xl mb-4">π¨</div> |
| <h3 class="font-bold text-lg mb-2">Customizable</h3> |
| <p class="text-gray-600">Fully customize the look and feel of your demo with themes and components.</p> |
| </div> |
| </div> |
| </div> |
| </section> |
|
|
| <section class="py-20 max-w-6xl mx-auto px-4"> |
| <div class="text-center mb-16"> |
| <h2 class="text-3xl font-bold text-gray-900 mb-4">Quick Start</h2> |
| <p class="text-xl text-gray-600 max-w-2xl mx-auto"> |
| Get started with Gradio in just a few lines of code. |
| </p> |
| </div> |
| <div class="bg-gray-800 rounded-lg p-6 text-sm"> |
| <pre class="text-gray-200 overflow-x-auto"> |
| <code>pip install gradio |
|
|
| import gradio as gr |
|
|
| def greet(name): |
| return "Hello " + name + "!" |
|
|
| demo = gr.Interface(fn=greet, inputs="text", outputs="text") |
| demo.launch()</code> |
| </pre> |
| </div> |
| </section> |
| </main> |
|
|
| <custom-footer></custom-footer> |
|
|
| <script src="components/navbar.js"></script> |
| <script src="components/footer.js"></script> |
| <script src="script.js"></script> |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> |
| </body> |
| </html> |