Elshawaf1 commited on
Commit
8cb27fe
·
verified ·
1 Parent(s): f3ccb65

Upload pages/_app.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. pages/_app.js +15 -0
pages/_app.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import '../styles/globals.css';
2
+ import { useState } from 'react';
3
+ import ChatInterface from '../components/ChatInterface';
4
+
5
+ function MyApp({ Component, pageProps }) {
6
+ const [showChat, setShowChat] = useState(true);
7
+
8
+ return (
9
+ <div className="min-h-screen">
10
+ {showChat && <ChatInterface />}
11
+ </div>
12
+ );
13
+ }
14
+
15
+ export default MyApp;