akhaliq's picture
akhaliq HF Staff
Upload pages/index.js with huggingface_hub
01caec1 verified
raw
history blame
1.11 kB
import Head from 'next/head'
import ChatInterface from '../components/ChatInterface'
export default function Home() {
return (
<>
<Head>
<title>Vision Chatbot</title>
<meta name="description" content="Chat with AI about your images" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</Head>
<main className="bg-gray-50 min-h-screen">
<div className="chat-container">
<header className="bg-blue-600 text-white p-4 shadow-md">
<div className="flex items-center justify-between">
<h1 className="text-xl font-bold">Vision Chatbot</h1>
<a
href="https://huggingface.co/spaces/akhaliq/anycoder"
target="_blank"
rel="noopener noreferrer"
className="text-sm bg-white text-blue-600 px-3 py-1 rounded-full hover:bg-blue-50 transition-colors"
>
Built with anycoder
</a>
</div>
</header>
<ChatInterface />
</div>
</main>
</>
)
}