Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Gradio - Build & Share ML Apps</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
<style> | |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
body { | |
font-family: 'Inter', sans-serif; | |
} | |
.gradient-text { | |
background: linear-gradient(90deg, #4F46E5 0%, #10B981 100%); | |
-webkit-background-clip: text; | |
background-clip: text; | |
-webkit-text-fill-color: transparent; | |
} | |
.gradient-bg { | |
background: linear-gradient(135deg, #4F46E5 0%, #10B981 100%); | |
} | |
.card-hover:hover { | |
transform: translateY(-4px); | |
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
} | |
.code-block { | |
background: #1E293B; | |
border-radius: 0.5rem; | |
} | |
.animate-pulse-slow { | |
animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite; | |
} | |
@keyframes pulse { | |
0%, 100% { | |
opacity: 1; | |
} | |
50% { | |
opacity: 0.7; | |
} | |
} | |
.nav-link::after { | |
content: ''; | |
display: block; | |
width: 0; | |
height: 2px; | |
background: #4F46E5; | |
transition: width .3s; | |
} | |
.nav-link:hover::after { | |
width: 100%; | |
} | |
</style> | |
</head> | |
<body class="bg-gray-50 text-gray-800"> | |
<!-- Alert Banner --> | |
<div class="bg-indigo-600 text-white text-center py-2 px-4"> | |
<span class="font-medium">🚀 Gradio Agents & MCP Hackathon · Virtual, June 2-8 · $10k+ in prizes</span> | |
<a href="https://huggingface.co/Agents-MCP-Hackathon" class="ml-2 inline-block bg-white text-indigo-600 px-3 py-1 rounded-md font-medium hover:bg-indigo-50 transition-colors">Register Now →</a> | |
</div> | |
<!-- Navigation --> | |
<nav class="bg-white shadow-sm sticky top-0 z-50"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div class="flex justify-between h-16"> | |
<div class="flex items-center"> | |
<div class="flex-shrink-0 flex items-center"> | |
<img src="https://www.gradio.app/_app/immutable/assets/gradio.CHB5adID.svg" alt="Gradio logo" class="h-8"> | |
</div> | |
<div class="hidden sm:ml-6 sm:flex sm:space-x-8"> | |
<a href="https://www.gradio.app/guides/quickstart" class="nav-link text-gray-700 hover:text-gray-900 px-3 py-2 text-sm font-medium">⚡ Quickstart</a> | |
<a href="https://www.gradio.app/docs" class="nav-link text-gray-700 hover:text-gray-900 px-3 py-2 text-sm font-medium">✍️ Docs</a> | |
<a href="https://www.gradio.app/playground" class="nav-link text-gray-700 hover:text-gray-900 px-3 py-2 text-sm font-medium">🎢 Playground</a> | |
<a href="https://www.gradio.app/custom-components/gallery" class="nav-link text-gray-700 hover:text-gray-900 px-3 py-2 text-sm font-medium">🖼️ Custom Components</a> | |
<div class="relative group"> | |
<button class="nav-link text-gray-700 hover:text-gray-900 px-3 py-2 text-sm font-medium flex items-center"> | |
🖐 Community | |
<svg class="ml-1 h-4 w-4" fill="currentColor" viewBox="0 0 20 20"> | |
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path> | |
</svg> | |
</button> | |
<div class="absolute left-0 mt-2 w-48 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-10"> | |
<div class="py-1"> | |
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Forums</a> | |
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Discord</a> | |
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Events</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="hidden sm:ml-6 sm:flex sm:items-center"> | |
<div class="relative mx-4"> | |
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
<svg class="h-5 w-5 text-gray-400" fill="currentColor" viewBox="0 0 20 20"> | |
<path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path> | |
</svg> | |
</div> | |
<input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="Search (⌘K)"> | |
</div> | |
<button class="bg-indigo-600 text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition-colors"> | |
Get Started | |
</button> | |
</div> | |
<div class="-mr-2 flex items-center sm:hidden"> | |
<button type="button" id="mobile-menu-button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500"> | |
<span class="sr-only">Open main menu</span> | |
<svg class="block h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path> | |
</svg> | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Mobile menu --> | |
<div id="mobile-menu" class="hidden sm:hidden"> | |
<div class="pt-2 pb-3 space-y-1"> | |
<a href="https://www.gradio.app/guides/quickstart" class="block px-4 py-2 text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50">⚡ Quickstart</a> | |
<a href="https://www.gradio.app/docs" class="block px-4 py-2 text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50">✍️ Docs</a> | |
<a href="https://www.gradio.app/playground" class="block px-4 py-2 text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50">🎢 Playground</a> | |
<a href="https://www.gradio.app/custom-components/gallery" class="block px-4 py-2 text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50">🖼️ Custom Components</a> | |
<a href="#" class="block px-4 py-2 text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50">🖐 Community</a> | |
</div> | |
<div class="pt-4 pb-3 border-t border-gray-200"> | |
<div class="px-4 mb-4"> | |
<input type="text" class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm" placeholder="Search"> | |
</div> | |
<div class="px-4"> | |
<button class="w-full bg-indigo-600 text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition-colors"> | |
Get Started | |
</button> | |
</div> | |
</div> | |
</div> | |
</nav> | |
<!-- Hero Section --> | |
<div class="relative overflow-hidden"> | |
<div class="max-w-7xl mx-auto"> | |
<div class="relative z-10 pb-8 bg-white sm:pb-16 md:pb-20 lg:max-w-2xl lg:w-full lg:pb-28 xl:pb-32"> | |
<svg class="hidden lg:block absolute right-0 inset-y-0 h-full w-48 text-white transform translate-x-1/2" fill="currentColor" viewBox="0 0 100 100" preserveAspectRatio="none" aria-hidden="true"> | |
<polygon points="50,0 100,0 50,100 0,100"></polygon> | |
</svg> | |
<main class="mt-10 mx-auto max-w-7xl px-4 sm:mt-12 sm:px-6 md:mt-16 lg:mt-20 lg:px-8 xl:mt-28"> | |
<div class="sm:text-center lg:text-left"> | |
<h1 class="text-4xl tracking-tight font-extrabold text-gray-900 sm:text-5xl md:text-6xl"> | |
<span class="block">Build & share</span> | |
<span class="block gradient-text">delightful machine learning apps</span> | |
</h1> | |
<p class="mt-3 text-base text-gray-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0"> | |
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="mt-5 sm:mt-8 sm:flex sm:justify-center lg:justify-start"> | |
<div class="rounded-md shadow"> | |
<a href="https://www.gradio.app/guides/quickstart" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 md:py-4 md:text-lg md:px-10 transition-colors"> | |
Get Started | |
</a> | |
</div> | |
<div class="mt-3 sm:mt-0 sm:ml-3"> | |
<a href="https://github.com/gradio-app/gradio" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 md:py-4 md:text-lg md:px-10 transition-colors"> | |
<i class="fab fa-github mr-2"></i> Star <span class="ml-1 bg-white px-2 py-1 rounded-md text-sm">38,431</span> | |
</a> | |
</div> | |
</div> | |
</div> | |
</main> | |
</div> | |
</div> | |
<div class="lg:absolute lg:inset-y-0 lg:right-0 lg:w-1/2"> | |
<img class="h-56 w-full object-cover sm:h-72 md:h-96 lg:w-full lg:h-full" src="https://www.gradio.app/_app/immutable/assets/header-image.DJQS6l6U.jpg" alt="Gradio banner"> | |
</div> | |
</div> | |
<!-- Interactive Demo Section --> | |
<section class="py-12 bg-gray-50"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div class="lg:text-center"> | |
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Hello World</h2> | |
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl"> | |
See Gradio in action | |
</p> | |
</div> | |
<div class="mt-10"> | |
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8"> | |
<!-- Code Block --> | |
<div class="code-block p-6 rounded-lg shadow-md overflow-hidden"> | |
<div class="flex items-center text-gray-300 text-sm mb-4"> | |
<div class="flex space-x-1.5 mr-4"> | |
<span class="w-3 h-3 rounded-full bg-red-500"></span> | |
<span class="w-3 h-3 rounded-full bg-yellow-500"></span> | |
<span class="w-3 h-3 rounded-full bg-green-500"></span> | |
</div> | |
<span>hello_world.py</span> | |
</div> | |
<pre class="text-green-400 overflow-x-auto"><code class="language-python">import gradio as gr | |
def greet(name): | |
return "Hello " + name + "!" | |
demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
demo.launch()</code></pre> | |
<div class="flex justify-between mt-6"> | |
<button class="text-gray-300 hover:text-white text-sm"> | |
<i class="fas fa-copy mr-1"></i> Copy | |
</button> | |
<button class="text-gray-300 hover:text-white text-sm"> | |
<i class="fas fa-play mr-1"></i> Run | |
</button> | |
</div> | |
</div> | |
<!-- Demo Interface --> | |
<div class="bg-white p-6 rounded-lg shadow-md"> | |
<h3 class="text-lg font-medium text-gray-900 mb-4">Live Demo</h3> | |
<div class="space-y-4"> | |
<div> | |
<label for="name" class="block text-sm font-medium text-gray-700">Name</label> | |
<div class="mt-1 relative rounded-md shadow-sm"> | |
<input type="text" id="name" class="focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border-gray-300 rounded-md p-2 border" placeholder="Enter your name"> | |
</div> | |
</div> | |
<div class="flex space-x-2"> | |
<button class="flex-1 bg-gray-200 text-gray-800 py-2 px 4 rounded-md text-sm font-medium hover:bg-gray-300 transition-colors"> | |
Clear | |
</button> | |
<button class="flex-1 bg-indigo-600 text-white py-2 px-4 rounded-md text-sm font-medium hover:bg-indigo-700 transition-colors"> | |
Submit | |
</button> | |
</div> | |
<div> | |
<label for="output" class="block text-sm font-medium text-gray-700">Output</label> | |
<div class="mt-1"> | |
<textarea id="output" rows="3" class="shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border-gray-300 rounded-md p-2 border" readonly>Hello !</textarea> | |
</div> | |
</div> | |
<div class="flex items-center justify-between"> | |
<button class="flex items-center text-indigo-600 hover:text-indigo-800 text-sm font-medium"> | |
<i class="fas fa-link mr-1"></i> Share via Link | |
</button> | |
<div class="text-xs text-gray-500 flex items-center"> | |
<span>gradio/hello_world</span> | |
<span class="mx-1">built with</span> | |
<span class="text-indigo-600 font-medium">Gradio</span> | |
<span class="mx-1">·</span> | |
<span>Hosted on</span> | |
<img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" alt="Hugging Face" class="h-4 ml-1"> | |
<span class="ml-1">Spaces</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Examples Section --> | |
<section class="py-12 bg-white"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div class="lg:text-center"> | |
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Examples</h2> | |
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl"> | |
What you can build with Gradio | |
</p> | |
</div> | |
<div class="mt-10 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4"> | |
<!-- Example 1 --> | |
<div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all duration-300"> | |
<div class="h-48 bg-gray-200 animate-pulse-slow flex items-center justify-center"> | |
<span class="text-gray-400">Loading preview...</span> | |
</div> | |
<div class="p-6"> | |
<h3 class="text-lg font-medium text-gray-900">Airbnb Map</h3> | |
<p class="mt-1 text-gray-500">Interactive map visualization of Airbnb listings</p> | |
<div class="mt-6 flex items-center justify-between text-xs text-gray-500"> | |
<span>gradio/map_airbnb</span> | |
<div class="flex items-center"> | |
<span>built with</span> | |
<span class="text-indigo-600 font-medium ml-1">Gradio</span> | |
<span class="mx-1">·</span> | |
<span>Hosted on</span> | |
<img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" alt="Hugging Face" class="h-3 ml-1"> | |
<span class="ml-1">Spaces</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Example 2 --> | |
<div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all duration-300"> | |
<div class="h-48 bg-gray-200 animate-pulse-slow flex items-center justify-center"> | |
<span class="text-gray-400">Loading preview...</span> | |
</div> | |
<div class="p-6"> | |
<h3 class="text-lg font-medium text-gray-900">Chatbot Streaming</h3> | |
<p class="mt-1 text-gray-500">Real-time streaming chatbot interaction</p> | |
<div class="mt-6 flex items-center justify-between text-xs text-gray-500"> | |
<span>gradio/chatinterface_streaming_echo</span> | |
<div class="flex items-center"> | |
<span>built with</span> | |
<span class="text-indigo-600 font-medium ml-1">Gradio</span> | |
<span class="mx-1">·</span> | |
<span>Hosted on</span> | |
<img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" alt="Hugging Face" class="h-3 ml-1"> | |
<span class="ml-1">Spaces</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Example 3 --> | |
<div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all duration-300"> | |
<div class="h-48 bg-gray-200 animate-pulse-slow flex items-center justify-center"> | |
<span class="text-gray-400">Loading preview...</span> | |
</div> | |
<div class="p-6"> | |
<h3 class="text-lg font-medium text-gray-900">Diffusion Faces</h3> | |
<p class="mt-1 text-gray-500">Generate faces with diffusion models</p> | |
<div class="mt-6 flex items-center justify-between text-xs text-gray-500"> | |
<span>gradio/fake_gan</span> | |
<div class="flex items-center"> | |
<span>built with</span> | |
<span class="text-indigo-600 font-medium ml-1">Gradio</span> | |
<span class="mx-1">·</span> | |
<span>Hosted on</span> | |
<img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" alt="Hugging Face" class="h-3 ml-1"> | |
<span class="ml-1">Spaces</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Example 4 --> | |
<div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all duration-300"> | |
<div class="h-48 bg-gray-200 animate-pulse-slow flex items-center justify-center"> | |
<span class="text-gray-400">Loading preview...</span> | |
</div> | |
<div class="p-6"> | |
<h3 class="text-lg font-medium text-gray-900">Style Transfer</h3> | |
<p class="mt-1 text-gray-500">Apply artistic styles to your images</p> | |
<div class="mt-6 flex items-center justify-between text-xs text-gray-500"> | |
<span>gradio/style_transfer</span> | |
<div class="flex items-center"> | |
<span>built with</span> | |
<span class="text-indigo-600 font-medium ml-1">Gradio</span> | |
<span class="mx-1">·</span> | |
<span>Hosted on</span> | |
<img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" alt="Hugging Face" class="h-3 ml-1"> | |
<span class="ml-1">Spaces</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Features Section --> | |
<section class="py-12 bg-gray-50"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div class="lg:text-center"> | |
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Features</h2> | |
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl"> | |
Why Gradio is the best choice | |
</p> | |
</div> | |
<div class="mt-10"> | |
<div class="grid grid-cols-1 gap-10 sm:grid-cols-2 lg:grid-cols-3"> | |
<!-- Feature 1 --> | |
<div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300"> | |
<div class="inline-flex items-center justify-center rounded-md bg-indigo-100 p-3"> | |
<i class="fas fa-bolt text-indigo-600"></i> | |
</div> | |
<h3 class="mt-4 text-lg font-medium text-gray-900">Fast, easy setup</h3> | |
<p class="mt-2 text-base text-gray-500"> | |
Gradio can be installed with pip. Creating a Gradio interface only requires adding a couple lines of code to your project. | |
</p> | |
<div class="mt-4"> | |
<a href="https://www.gradio.app/guides/quickstart" class="inline-flex items-center text-indigo-600 hover:text-indigo-800 font-medium"> | |
Learn more | |
<svg class="ml-1 h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> | |
</svg> | |
</a> | |
</div> | |
</div> | |
<!-- Feature 2 --> | |
<div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300"> | |
<div class="inline-flex items-center justify-center rounded-md bg-indigo-100 p-3"> | |
<i class="fas fa-share-alt text-indigo-600"></i> | |
</div> | |
<h3 class="mt-4 text-lg font-medium text-gray-900">Present and share</h3> | |
<p class="mt-2 text-base text-gray-500"> | |
Gradio can be embedded in Python notebooks or presented as a webpage. Share your model with colleagues via automatically generated public links. | |
</p> | |
<div class="mt-4"> | |
<a href="https://gradio.app/sharing-your-app" class="inline-flex items-center text-indigo-600 hover:text-indigo-800 font-medium"> | |
Learn more | |
<svg class="ml-1 h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> | |
</svg> | |
</a> | |
</div> | |
</div> | |
<!-- Feature 3 --> | |
<div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300"> | |
<div class="inline-flex items-center justify-center rounded-md bg-indigo-100 p-3"> | |
<i class="fas fa-server text-indigo-600"></i> | |
</div> | |
<h3 class="mt-4 text-lg font-medium text-gray-900">Permanent hosting</h3> | |
<p class="mt-2 text-base text-gray-500"> | |
Host your interface permanently on Hugging Face Spaces with a shareable link. No server setup required. | |
</p> | |
<div class="mt-4"> | |
<a href="https://huggingface.co/spaces" class="inline-flex items-center text-indigo-600 hover:text-indigo-800 font-medium"> | |
Learn more | |
<svg class="ml-1 h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path> | |
</svg> | |
</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Used by Section --> | |
<section class="py-12 bg-white"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div class="lg:text-center"> | |
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Used by</h2> | |
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl"> | |
Trusted by industry leaders | |
</p> | |
</div> | |
<div class="mt-10"> | |
<div class="grid grid-cols-2 gap-8 md:grid-cols-3 lg:grid-cols-7 place-items-center"> | |
<div class="h-12 flex items-center justify-center"> | |
<img src="https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg" alt="Google" class="h-8"> | |
</div> | |
<div class="h-12 flex items-center justify-center"> | |
<img src="https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg" alt="Amazon" class="h-6"> | |
</div> | |
<div class="h-12 flex items-center justify-center"> | |
<img src="https://upload.wikimedia.org/wikipedia/commons/5/51/Facebook_f_logo_%282019%29.svg" alt="Facebook" class="h-7"> | |
</div> | |
<div class="h-12 flex items-center justify-center"> | |
<img src="https://upload.wikimedia.org/wikipedia/commons/0/08/Cisco_logo_blue_2016.svg" alt="Cisco" class="h-8"> | |
</div> | |
<div class="h-12 flex items-center justify-center"> | |
<img src="https://upload.wikimedia.org/wikipedia/commons/6/6f/Logo_of_Twitter.svg" alt="Twitter" class="h-6"> | |
</div> | |
<div class="h-12 flex items-center justify-center"> | |
<img src="https://upload.wikimedia.org/wikipedia/commons/9/9a/Vmware.svg" alt="VMware" class="h-8"> | |
</div> | |
<div class="h-12 flex items-center justify-center"> | |
<img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" alt="Hugging Face" class="h-8"> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Testimonials Section --> | |
<section class="py-12 bg-gray-50"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
<div class="lg:text-center"> | |
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Testimonials</h2> | |
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl"> | |
What people are saying | |
</p> | |
</div> | |
<div class="mt-10"> | |
<div class="grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3"> | |
<!-- Testimonial 1 --> | |
<div class="bg-white p-6 rounded-lg shadow-sm"> | |
<div class="flex items-center"> | |
<img class="w-12 h-12 rounded-full" src="https://pbs.twimg.com/profile_images/1492635399241465858/4sbu_-Af_400x400.jpg" alt="Anastasios Nikolas Angelopoulos"> | |
<div class="ml-4"> | |
<h4 class="text-sm font-medium text-gray-900">Anastasios Nikolas Angelopoulos</h4> | |
<p class="text-xs text-gray-500">@ml_angelopoulos</p> | |
</div> | |
</div> | |
<p class="mt-4 text-gray-600"> | |
We love @Gradio. It helped us scale to our first million users. Amazing and undervalued that Gradio can do this. | |
</p> | |
<div class="mt-4 flex justify-end"> | |
<a href="https://twitter.com/ml_angelopoulos/status/1925288220360909286" class="text-xs text-indigo-600 hover:text-indigo-800">View tweet</a> | |
</div> | |
</div> | |
<!-- Testimonial 2 --> | |
<div class="bg-white p-6 rounded-lg shadow-sm"> | |
<div class="flex items-center"> | |
<img class="w-12 h-12 rounded-full" src="https://pbs.twimg.com/profile_images/1610215964442808320/NLkT5L7d_400x400.jpg" alt="Jaydeep"> | |
<div class="ml-4"> | |
<h4 class="text-sm font-medium text-gray-900">Jaydeep</h4> | |
<p class="text-xs text-gray-500">@_jaydeepkarale</p> | |
</div> | |
</div> | |
<p class="mt-4 text-gray-600"> | |
Gradio was love at first sight..so easy to use | |
</p> | |
<div class="mt-4 flex justify-end"> | |
<a href="https://x.com/_jaydeepkarale/status/1639978163643252736" class="text-xs text-indigo-600 hover:text-indigo-800">View tweet</a> | |
</div> | |
</div> | |
<!-- Testimonial 3 --> | |
<div class="bg-white p-6 rounded-lg shadow-sm"> | |
<div class="flex items-center"> | |
<img class="w-12 h-12 rounded-full" src="https://pbs.twimg.com/profile_images/1475907491054301190/LsCnjnsl_400x400.jpg" alt="Art Litvinau"> | |
<div class="ml-4"> | |
<h4 class="text-sm font-medium text-gray-900">Art Litvinau</h4> | |
<p class="text-xs text-gray-500">@ArtLitvinau</p> | |
</div> | |
</div> | |
<p class="mt-4 text-gray-600"> | |
I love how easy is to build quick prototypes with @Gradio ⚡️ this one took me 45 minutes with no previous experience with the library | |
</p> | |
<div class="mt-4 flex justify-end"> | |
<a href="https://x.com/ArtLitvinau/status/1678937099343364097" class="text-xs text-indigo-600 hover:text-indigo-800">View tweet</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- CTA Section --> | |
<section class="gradient-bg py-16"> | |
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center"> | |
<h2 class="text-3xl font-extrabold text-white sm:text-4xl"> | |
Ready to build your ML app? | |
</h2> | |
<p class="mt-3 max-w-2xl mx-auto text-lg text-indigo-100"> | |
Get started with Gradio today and deploy your machine learning models with ease. | |
</p> | |
<div class="mt-8 flex justify-center"> | |
<div class="inline-flex rounded-md shadow"> | |
<a href="https://www.gradio.app/guides/quickstart" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-indigo-600 bg-white hover:bg-indigo-50 transition-colors"> | |
Get Started | |
</a> | |
</div> | |
<div class="ml-3 inline-flex"> | |
<a href="https://github.com/gradio-app/gradio" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 bg-opacity-60 hover:bg-opacity-70 transition-colors"> | |
<i class="fab fa-github mr-2"></i> View on GitHub | |
</a> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Footer --> | |
<footer class="bg-white"> | |
<div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8"> | |
<nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer"> | |
<div class="px-5 py-2"> | |
<a href="https://www.gradio.app/main/docs" class="text-base text-gray-500 hover:text-gray-900"> | |
Documentation | |
</a> | |
</div> | |
<div class="px-5 py-2"> | |
<a href="https://www.gradio.app/main/guides" class="text-base text-gray-500 hover:text-gray-900"> | |
Guides | |
</a> | |
</div> | |
<div class="px-5 py-2"> | |
<a href="https://status.gradio.app/" class="text-base text-gray-500 hover:text-gray-900"> | |
Status | |
</a> | |
</div> | |
</nav> | |
<div class="mt-8 flex justify-center space-x-6"> | |
<a href="https://twitter.com/Gradio" class="text-gray-400 hover:text-gray-500"> | |
<span class="sr-only">Twitter</span> | |
<i class="fab fa-twitter text-xl"></i> | |
</a> | |
<a href="https://github.com/gradio-app/gradio" class="text-gray-400 hover:text-gray-500"> | |
<span class="sr-only">GitHub</span> | |
<i class="fab fa-github text-xl"></i> | |
</a> | |
</div> | |
<div class="mt-8 flex justify-center"> | |
<img src="https://www.gradio.app/_app/immutable/assets/gradio.CHB5adID.svg" alt="Gradio logo" class="h-8"> | |
</div> | |
<p class="mt-8 text-center text-base text-gray-400"> | |
© 2023 Gradio. All rights reserved. | |
</p> | |
</div> | |
</footer> | |
<script> | |
// Mobile menu toggle | |
document.getElementById('mobile-menu-button').addEventListener('click', function() { | |
const menu = document.getElementById('mobile-menu'); | |
menu.classList.toggle('hidden'); | |
}); | |
// Demo functionality | |
const nameInput = document.getElementById('name'); | |
const outputArea = document.getElementById('output'); | |
const submitButton = document.querySelector('button.bg-indigo-600'); | |
submitButton.addEventListener('click', function() { | |
const name = nameInput.value; | |
outputArea.value = `Hello ${name || 'World'}!`; | |
}); | |
// Copy code button functionality | |
const copyButton = document.querySelector('.text-gray-300.hover\\:text-white'); | |
if (copyButton) { | |
copyButton.addEventListener('click', function() { | |
const code = document.querySelector('.language-python').textContent; | |
navigator.clipboard.writeText(code).then(() => { | |
copyButton.innerHTML = '<i class="fas fa-check mr-1"></i> Copied!'; | |
setTimeout(() => { | |
copyButton.innerHTML = '<i class="fas fa-copy mr-1"></i> Copy'; | |
}, 2000); | |
}); | |
}); | |
} | |
</script> | |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=akhaliq/gradio-redesign" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
</html> |