akhaliq HF Staff commited on
Commit
01caec1
·
verified ·
1 Parent(s): 4adc4d0

Upload pages/index.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. pages/index.js +32 -0
pages/index.js ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Head from 'next/head'
2
+ import ChatInterface from '../components/ChatInterface'
3
+
4
+ export default function Home() {
5
+ return (
6
+ <>
7
+ <Head>
8
+ <title>Vision Chatbot</title>
9
+ <meta name="description" content="Chat with AI about your images" />
10
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
11
+ </Head>
12
+ <main className="bg-gray-50 min-h-screen">
13
+ <div className="chat-container">
14
+ <header className="bg-blue-600 text-white p-4 shadow-md">
15
+ <div className="flex items-center justify-between">
16
+ <h1 className="text-xl font-bold">Vision Chatbot</h1>
17
+ <a
18
+ href="https://huggingface.co/spaces/akhaliq/anycoder"
19
+ target="_blank"
20
+ rel="noopener noreferrer"
21
+ className="text-sm bg-white text-blue-600 px-3 py-1 rounded-full hover:bg-blue-50 transition-colors"
22
+ >
23
+ Built with anycoder
24
+ </a>
25
+ </div>
26
+ </header>
27
+ <ChatInterface />
28
+ </div>
29
+ </main>
30
+ </>
31
+ )
32
+ }