File size: 1,109 Bytes
01caec1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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>
    </>
  )
}