Spaces:
Sleeping
Sleeping
Upload pages/index.js with huggingface_hub
Browse files- pages/index.js +38 -0
pages/index.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Head from 'next/head';
|
| 2 |
+
import ComfyUI from '../components/ComfyUI';
|
| 3 |
+
import PocketBase from '../components/PocketBase';
|
| 4 |
+
import PocketTTS from '../components/PocketTTS';
|
| 5 |
+
import SearchEngine from '../components/SearchEngine';
|
| 6 |
+
|
| 7 |
+
export default function Home() {
|
| 8 |
+
return (
|
| 9 |
+
<>
|
| 10 |
+
<Head>
|
| 11 |
+
<title>AI Command Center</title>
|
| 12 |
+
<meta name="description" content="Integrated AI Dashboard" />
|
| 13 |
+
</Head>
|
| 14 |
+
|
| 15 |
+
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6">
|
| 16 |
+
{/* ComfyUI Section */}
|
| 17 |
+
<div className="lg:col-span-2">
|
| 18 |
+
<ComfyUI />
|
| 19 |
+
</div>
|
| 20 |
+
|
| 21 |
+
{/* PocketBase Section */}
|
| 22 |
+
<div>
|
| 23 |
+
<PocketBase />
|
| 24 |
+
</div>
|
| 25 |
+
|
| 26 |
+
{/* TTS Section */}
|
| 27 |
+
<div>
|
| 28 |
+
<PocketTTS />
|
| 29 |
+
</div>
|
| 30 |
+
|
| 31 |
+
{/* Search Section */}
|
| 32 |
+
<div className="lg:col-span-2">
|
| 33 |
+
<SearchEngine />
|
| 34 |
+
</div>
|
| 35 |
+
</div>
|
| 36 |
+
</>
|
| 37 |
+
);
|
| 38 |
+
}
|