Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Gemma AI Chatbot</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<div class="container"> | |
<header> | |
<h1>🤖 Gemma AI Assistant</h1> | |
<p>Powered by Gemma-3-270M-IT</p> | |
</header> | |
<div class="chat-container"> | |
<div id="chatMessages" class="chat-messages"> | |
<div class="message assistant"> | |
<div class="message-content"> | |
Hello! I'm Gemma, your AI assistant. How can I help you today? | |
</div> | |
</div> | |
</div> | |
<div class="input-container"> | |
<input | |
type="text" | |
id="userInput" | |
placeholder="Type your message here..." | |
disabled | |
> | |
<button id="sendButton" disabled> | |
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"> | |
<path d="M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z"/> | |
</svg> | |
</button> | |
</div> | |
</div> | |
<div id="loadingIndicator" class="loading-indicator"> | |
<div class="spinner"></div> | |
<span>Initializing AI model...</span> | |
</div> | |
</div> | |
<script type="module" src="index.js"></script> | |
</body> | |
</html> |