Download index.html from PyiTheinKyaw/the-ai-pattern-predictor: direct link, hf CLI and curl.
- Browser
- Download file 6.95 kB
-
https://huggingface.co/spaces/PyiTheinKyaw/the-ai-pattern-predictor/resolve/main/index.html
- Command line
-
hf download hf://spaces/PyiTheinKyaw/the-ai-pattern-predictor/index.html
-
curl -L -o index.html https://huggingface.co/spaces/PyiTheinKyaw/the-ai-pattern-predictor/resolve/main/index.html
6.95 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>The AI Pattern Predictor</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: #f8fafc; | |
| } | |
| .text-gradient { | |
| background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .message-bubble { | |
| max-width: 80%; | |
| border-radius: 1.5rem; | |
| padding: 1rem; | |
| margin-bottom: 0.75rem; | |
| } | |
| .typing-indicator { | |
| display: inline-block; | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| background-color: #9ca3af; | |
| margin-right: 4px; | |
| animation: bounce 1.4s infinite ease-in-out; | |
| } | |
| .typing-indicator:nth-child(2) { | |
| animation-delay: 0.2s; | |
| } | |
| .typing-indicator:nth-child(3) { | |
| animation-delay: 0.4s; | |
| } | |
| @keyframes bounce { | |
| 0%, 80%, 100% { transform: translateY(0); } | |
| 40% { transform: translateY(-10px); } | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen flex flex-col items-center justify-center p-4"> | |
| <!-- Mobile Frame --> | |
| <div class="w-full max-w-md bg-white rounded-3xl shadow-xl overflow-hidden border border-gray-200"> | |
| <!-- Header --> | |
| <div class="bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 p-6"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <h1 class="text-2xl font-bold text-white">AI Predictor</h1> | |
| <p class="text-sm text-indigo-100">Know The Machine</p> | |
| </div> | |
| <div class="flex space-x-2"> | |
| <div class="w-3 h-3 rounded-full bg-white opacity-60"></div> | |
| <div class="w-3 h-3 rounded-full bg-white opacity-30"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Content --> | |
| <div class="p-6"> | |
| <div class="text-center mb-8"> | |
| <h2 class="text-xl font-bold text-gray-900 mb-2">How AI Works</h2> | |
| <p class="text-sm text-gray-600">A free foundational course</p> | |
| </div> | |
| <!-- Chat Simulation --> | |
| <div class="mb-8 bg-gray-50 rounded-2xl p-4"> | |
| <div class="flex flex-col space-y-2"> | |
| <!-- User message --> | |
| <div class="self-end message-bubble bg-indigo-100 text-indigo-900 rounded-tr-none"> | |
| I'm on my way to... | |
| </div> | |
| <!-- AI thinking --> | |
| <div class="self-start message-bubble bg-white text-gray-800 rounded-tl-none shadow-sm flex items-center"> | |
| <div class="typing-indicator"></div> | |
| <div class="typing-indicator"></div> | |
| <div class="typing-indicator"></div> | |
| </div> | |
| <!-- AI suggestions --> | |
| <div class="self-start message-bubble bg-white text-gray-800 rounded-tl-none shadow-sm"> | |
| <div class="flex flex-wrap gap-2"> | |
| <span class="px-3 py-1.5 bg-indigo-50 text-indigo-700 rounded-full text-sm">work</span> | |
| <span class="px-3 py-1.5 bg-indigo-50 text-indigo-700 rounded-full text-sm">school</span> | |
| <span class="px-3 py-1.5 bg-indigo-50 text-indigo-700 rounded-full text-sm">the gym</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Explanation --> | |
| <div class="space-y-4 text-sm text-gray-700"> | |
| <div class="p-4 bg-white rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-5 w-5 text-indigo-500" data-feather="zap"></div> | |
| <div class="ml-3"> | |
| <p><span class="font-medium">AI feels magical.</span> But it isn't. It's math.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 bg-white rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-5 w-5 text-purple-500" data-feather="cpu"></div> | |
| <div class="ml-3"> | |
| <p><span class="font-medium">Not a mind with thoughts.</span> A machine of patterns, not meaning.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-4 bg-white rounded-xl shadow-sm border border-gray-100"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 h-5 w-5 text-pink-500" data-feather="activity"></div> | |
| <div class="ml-3"> | |
| <p><span class="font-medium">AI doesn't think.</span> It predicts. It guesses with astonishing confidence.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer CTA --> | |
| <div class="bg-gray-50 p-6 border-t border-gray-100"> | |
| <button class="w-full bg-gradient-to-r from-indigo-500 to-purple-600 text-white font-medium py-3 px-4 rounded-xl shadow-md hover:shadow-lg transition duration-200 flex items-center justify-center"> | |
| <span>Learn How It Works</span> | |
| <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| // Simulate typing animation | |
| setTimeout(() => { | |
| const typingIndicator = document.querySelector('.typing-indicator').parentNode; | |
| typingIndicator.style.display = 'none'; | |
| const suggestions = document.querySelector('.flex.flex-wrap.gap-2').parentNode; | |
| suggestions.style.display = 'block'; | |
| suggestions.style.animation = 'fadeIn 0.5s ease-out'; | |
| }, 1500); | |
| </script> | |
| </body> | |
| </html> | |