File size: 4,363 Bytes
59b796e
a0b2440
 
 
 
 
5287455
59b796e
a0b2440
 
 
 
59b796e
 
a0b2440
 
 
b78d8f1
 
59b796e
 
 
a17723b
 
a0b2440
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b78d8f1
5287455
 
 
a0b2440
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>EvE 2 D Syre HF Edition (Beta) - AI Companion</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
    <!-- Add Gradio for HuggingFace Spaces -->
    <script type="module" src="https://gradio.s3-us-west-2.amazonaws.com/3.29.0/gradio.js"></script>
</head>
<body class="bg-gray-900 text-gray-100">
    <div id="vanta-bg" class="fixed inset-0 -z-10 opacity-50"></div>
    <script src="components/lcars-navbar.js"></script>
    <script src="components/lcars-footer.js"></script>
    <!-- Add Gradio app container -->
    <div id="gradio-app" class="hidden"></div>
<lcars-navbar></lcars-navbar>
<main class="container mx-auto px-4 py-8" id="main-content" style="display: none;">
<div class="bg-gray-800/80 backdrop-blur-lg rounded-xl shadow-2xl overflow-hidden border border-gray-700">
            <!-- Model Selection -->
            <div class="p-6 border-b border-gray-700">
                <h2 class="text-2xl font-bold mb-4 text-indigo-400">Model Configuration</h2>
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                    <div>
                        <label class="block text-gray-300 mb-2">Model Source</label>
                        <select class="w-full bg-gray-700 border border-gray-600 rounded-md p-2 text-white">
                            <option value="local">Local GGUF</option>
                            <option value="huggingface">HuggingFace</option>
                            <option value="gemini">Gemini</option>
                        </select>
                    </div>
                    <div>
                        <label class="block text-gray-300 mb-2">Model Path</label>
                        <div class="flex gap-2">
                            <input type="text" class="flex-grow bg-gray-700 border border-gray-600 rounded-md p-2 text-white" placeholder="/path/to/model.gguf">
                            <button class="bg-indigo-600 hover:bg-indigo-700 px-4 rounded-md">Browse</button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Chat Interface -->
            <div class="p-6">
                <div class="chat-container h-96 overflow-y-auto mb-4 p-4 bg-gray-900/50 rounded-lg border border-gray-700"></div>
                
                <div class="flex gap-2">
                    <input type="text" class="flex-grow bg-gray-700 border border-gray-600 rounded-md p-3 text-white" placeholder="Ask EvE anything...">
                    <button class="bg-indigo-600 hover:bg-indigo-700 px-6 rounded-md flex items-center gap-2">
                        <i data-feather="send"></i> Send
                    </button>
                </div>
            </div>
        </div>

        <!-- Status Bar -->
        <div class="mt-4 bg-gray-800/80 backdrop-blur-lg rounded-lg p-3 text-sm flex justify-between items-center">
            <div class="flex items-center gap-4">
                <span class="flex items-center gap-2">
                    <span class="w-2 h-2 rounded-full bg-green-500"></span>
                    <span>System Ready</span>
                </span>
                <span class="text-gray-400">RAM: 4.2/16GB</span>
            </div>
            <div class="text-gray-400">Model: llama3-8b.Q4_K_M.gguf</div>
        </div>
    </main>
    <lcars-footer></lcars-footer>
    <script src="components/ram-monitor.js"></script>
    <script src="script.js"></script>
<script>
        feather.replace();
        VANTA.GLOBE({
            el: "#vanta-bg",
            mouseControls: true,
            touchControls: true,
            gyroControls: false,
            minHeight: 200.00,
            minWidth: 200.00,
            scale: 1.00,
            scaleMobile: 1.00,
            color: 0x5e3fff,
            backgroundColor: 0x0
        });
    </script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>