anycoder-e18b332c / index.html
akhaliq's picture
akhaliq HF Staff
Upload index.html with huggingface_hub
5b021fb verified
raw
history blame
3.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Apple Style Chatbot - Gemma AI</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="app-container">
<header class="header">
<div class="header-content">
<div class="app-info">
<div class="app-icon">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none">
<circle cx="16" cy="16" r="16" fill="url(#gradient)" />
<path d="M16 8C16 8 12 10 12 14C12 18 14 20 16 22C18 20 20 18 20 14C20 10 16 8 16 8Z" fill="white" />
<defs>
<linearGradient id="gradient" x1="0" y1="0" x2="32" y2="32">
<stop offset="0%" stop-color="#007AFF" />
<stop offset="100%" stop-color="#5856D6" />
</linearGradient>
</defs>
</svg>
</div>
<div>
<h1>Gemma AI Assistant</h1>
<p class="subtitle">Powered by Google Gemma 3</p>
</div>
</div>
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="built-with">
Built with anycoder
</a>
</div>
</header>
<main class="chat-container">
<div id="chatMessages" class="messages-container">
<div class="welcome-message">
<div class="message-bubble assistant">
<div class="message-content">
<p>πŸ‘‹ Hello! I'm your AI assistant powered by Google's Gemma 3 model. I'm here to help with questions,
creative writing, coding, and much more.</p>
<p>Just type your message below and I'll respond right away!</p>
</div>
</div>
</div>
</div>
<div id="typingIndicator" class="typing-indicator" style="display: none;">
<div class="message-bubble assistant">
<div class="typing-dots">
<span></span>
<span></span>
<span></span>
</div>
</div>
</div>
</main>
<footer class="input-container">
<div class="input-wrapper">
<div class="input-group">
<textarea
id="messageInput"
class="message-input"
placeholder="Type your message..."
rows="1"
disabled
></textarea>
<button id="sendButton" class="send-button" disabled>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none">
<path d="M22 2L11 13M22 2L15 22L11 13L2 9L22 2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
</div>
<div id="statusBar" class="status-bar">
<div id="statusText" class="status-text">Initializing model...</div>
<div id="progressBar" class="progress-bar">
<div id="progressFill" class="progress-fill"></div>
</div>
</div>
</div>
</footer>
</div>
<script type="module" src="app.js"></script>
</body>
</html>