shootstuff commited on
Commit
b59fe0b
·
verified ·
1 Parent(s): 7c5ebd4

Create a web app called 'AI Phenomenology Tester' using Python backend with Streamlit. Include: - User input for selecting an HF model (e.g., Llama-2 via Transformers). - An agentic workflow: Use a simple AI agent (like LangChain or HF Agents) to plan and run tests. - Phenomenology test: Prompt the model with scenarios (e.g., 'What is consciousness?') and analyze emergent behaviors (e.g., entropy or pattern matching). - Eigenmode test: Extract activations, compute eigenvalues/eigenvectors with SciPy, visualize dominant modes (e.g., for physical signals like vibrations). - Dashboard to display results, charts (Matplotlib), and export options. - Integrate Hugging Face API for model loading. Make it deployable on HF Spaces.

Browse files

Submit this, and DeepSite will generate the code/site. If it uses DeepSeek models under the hood, it might handle complex logic well.<grok:render card_id="17a283" card_type="citation_card" type="render_inline_citation">
<argument name="citation_id">27</argument>
</grok:render>

- Refine and Deploy:
- After generation, preview the app in the Space. Edit the code if needed (e.g., add specific libraries like scipy.linalg.eigh for eigenmodes).
- Deploy: DeepSite often outputs a deploy button or code to host on your own HF Space, GitHub, or Vercel.<grok:render card_id="4a7e74" card_type="citation_card" type="render_inline_citation">
<argument name="citation_id">6</argument>
</grok:render><grok:render card_id="0d622c" card_type="citation_card" type="render_inline_citation">
<argument name="citation_id">8</argument>
</grok:render> For agentic elements, it might include basic chaining (e.g., prompt -> model call -> analysis).
- Test runs: Upload sample data (e.g., physical signal datasets) and run phenomenology probes inspired by papers on AI epistemology or foundation models for signals.<grok:render card_id="88d1bd" card_type="citation_card" type="render_inline_citation">
<argument name="citation_id">21</argument>
</grok:render><grok:render card_id="01152f" card_type="citation_card" type="render_inline_citation">
<argument name="citation_id">22</argument>
</grok:render>

- Example Use Case:
- For phenomenology: The app could agentically prompt an LLM and score responses for "conscious-like" traits (e.g., self-reference, adaptability).
- For eigenmodes: Input model activations or signal data, compute modes to identify principal patterns (useful for generalizing across phenomena like waves or neural dynamics).<grok:render card_id="520008" card_type="citation_card" type="render_inline_citation">
<argument name="citation_id">20</argument>
</grok:render>

### 3. Alternative Methods (If DeepSite Isn't Sufficient)
If DeepSite's generated app lacks depth (e.g., for heavy compute), fall back to manual setups with HF:
- HF Transformers + Agent Libraries: Use transformers with langchain or crewai for agentic flows.<grok:render card_id="5fc21c" card_type="citation_card" type="render_inline_citation">
<argument name="citation_id">12</argument>
</grok:render><grok:render card_id="ee71f1" card_type="citation_card" type="render_inline_citation">
<argument name="citation_id">13</argument>
</grok:render><grok:render card_id="27d9c7" card_type="citation_card" type="render_inline_citation">
<argument name="citation_id">16</argument>
</grok:render> Install via pip, load models, and define agents/tools as in my previous response (e.g., custom functions for tests).
- Direct Scripts: Write Python code with HF models, SciPy for eigenmodes, and probes for phenomenology. Host on HF Spaces for a web interface.
- DeepSeek Models: Since DeepSite may tie into DeepSeek (per Reddit discussions), directly use DeepSeek-V2 on HF for your agents—it's strong for reasoning and could handle test planning.<grok:render card_id="153d02" card_type="citation_card" type="render_inline_citation">
<argument name="citation_id">14</argument>
</grok:render><grok:render card_id="00871e" card_type="citation_card" type="render_inline_citation">
<argument name="citation_id">27</argument>
</grok:render

Files changed (6) hide show
  1. README.md +8 -5
  2. components/footer.js +144 -0
  3. components/navbar.js +108 -0
  4. index.html +166 -19
  5. script.js +19 -0
  6. style.css +33 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Mindmeld Matrix Explorer
3
- emoji: 🏢
4
- colorFrom: blue
5
- colorTo: yellow
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: MindMeld Matrix Explorer 🤖🧠
3
+ colorFrom: purple
4
+ colorTo: purple
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
components/footer.js ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ footer {
7
+ background-color: var(--bg-color, #f7fafc);
8
+ padding: 2rem 1rem;
9
+ border-top: 1px solid #e2e8f0;
10
+ transition: background-color 0.3s ease;
11
+ }
12
+ .dark footer {
13
+ background-color: #1a202c;
14
+ border-top: 1px solid #2d3748;
15
+ }
16
+ .container {
17
+ max-width: 1200px;
18
+ margin: 0 auto;
19
+ display: grid;
20
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
21
+ gap: 2rem;
22
+ }
23
+ .footer-section h3 {
24
+ font-weight: 600;
25
+ margin-bottom: 1rem;
26
+ color: #2d3748;
27
+ }
28
+ .dark .footer-section h3 {
29
+ color: #e2e8f0;
30
+ }
31
+ .footer-links {
32
+ display: flex;
33
+ flex-direction: column;
34
+ gap: 0.5rem;
35
+ }
36
+ .footer-link {
37
+ color: #4a5568;
38
+ text-decoration: none;
39
+ transition: color 0.2s;
40
+ }
41
+ .dark .footer-link {
42
+ color: #a0aec0;
43
+ }
44
+ .footer-link:hover {
45
+ color: #3182ce;
46
+ }
47
+ .dark .footer-link:hover {
48
+ color: #63b3ed;
49
+ }
50
+ .copyright {
51
+ text-align: center;
52
+ margin-top: 2rem;
53
+ padding-top: 1rem;
54
+ border-top: 1px solid #e2e8f0;
55
+ color: #718096;
56
+ }
57
+ .dark .copyright {
58
+ border-top: 1px solid #2d3748;
59
+ color: #a0aec0;
60
+ }
61
+ .social-links {
62
+ display: flex;
63
+ gap: 1rem;
64
+ margin-top: 1rem;
65
+ }
66
+ .social-link {
67
+ width: 36px;
68
+ height: 36px;
69
+ border-radius: 50%;
70
+ background-color: #edf2f7;
71
+ display: flex;
72
+ align-items: center;
73
+ justify-content: center;
74
+ transition: background-color 0.2s;
75
+ }
76
+ .dark .social-link {
77
+ background-color: #2d3748;
78
+ }
79
+ .social-link:hover {
80
+ background-color: #e2e8f0;
81
+ }
82
+ .dark .social-link:hover {
83
+ background-color: #4a5568;
84
+ }
85
+ @media (max-width: 768px) {
86
+ .container {
87
+ grid-template-columns: 1fr;
88
+ gap: 1.5rem;
89
+ }
90
+ }
91
+ </style>
92
+ <footer>
93
+ <div class="container">
94
+ <div class="footer-section">
95
+ <h3>MindMeld</h3>
96
+ <p class="text-gray-600 dark:text-gray-400">Exploring the boundaries of AI consciousness through advanced phenomenology testing.</p>
97
+ <div class="social-links">
98
+ <a href="#" class="social-link">
99
+ <i data-feather="github"></i>
100
+ </a>
101
+ <a href="#" class="social-link">
102
+ <i data-feather="twitter"></i>
103
+ </a>
104
+ <a href="#" class="social-link">
105
+ <i data-feather="linkedin"></i>
106
+ </a>
107
+ </div>
108
+ </div>
109
+ <div class="footer-section">
110
+ <h3>Explore</h3>
111
+ <div class="footer-links">
112
+ <a href="#" class="footer-link">Phenomenology Tests</a>
113
+ <a href="#" class="footer-link">Eigenmode Analysis</a>
114
+ <a href="#" class="footer-link">Model Benchmarks</a>
115
+ <a href="#" class="footer-link">Research Papers</a>
116
+ </div>
117
+ </div>
118
+ <div class="footer-section">
119
+ <h3>Resources</h3>
120
+ <div class="footer-links">
121
+ <a href="#" class="footer-link">Documentation</a>
122
+ <a href="#" class="footer-link">API Reference</a>
123
+ <a href="#" class="footer-link">Tutorials</a>
124
+ <a href="#" class="footer-link">Community</a>
125
+ </div>
126
+ </div>
127
+ <div class="footer-section">
128
+ <h3>Legal</h3>
129
+ <div class="footer-links">
130
+ <a href="#" class="footer-link">Privacy Policy</a>
131
+ <a href="#" class="footer-link">Terms of Service</a>
132
+ <a href="#" class="footer-link">License</a>
133
+ </div>
134
+ </div>
135
+ </div>
136
+ <div class="copyright">
137
+ &copy; ${new Date().getFullYear()} MindMeld Matrix Explorer. All rights reserved.
138
+ </div>
139
+ </footer>
140
+ `;
141
+ }
142
+ }
143
+
144
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ background-color: var(--bg-color, white);
8
+ padding: 1rem 2rem;
9
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
10
+ transition: background-color 0.3s ease;
11
+ }
12
+ .dark nav {
13
+ background-color: #1a202c;
14
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
15
+ }
16
+ .container {
17
+ display: flex;
18
+ justify-content: space-between;
19
+ align-items: center;
20
+ max-width: 1200px;
21
+ margin: 0 auto;
22
+ }
23
+ .logo {
24
+ font-weight: 700;
25
+ font-size: 1.5rem;
26
+ color: #3182ce;
27
+ text-decoration: none;
28
+ display: flex;
29
+ align-items: center;
30
+ }
31
+ .dark .logo {
32
+ color: #63b3ed;
33
+ }
34
+ .nav-links {
35
+ display: flex;
36
+ gap: 1.5rem;
37
+ }
38
+ .nav-link {
39
+ color: #4a5568;
40
+ text-decoration: none;
41
+ font-weight: 500;
42
+ transition: color 0.2s;
43
+ }
44
+ .dark .nav-link {
45
+ color: #cbd5e0;
46
+ }
47
+ .nav-link:hover {
48
+ color: #3182ce;
49
+ }
50
+ .dark .nav-link:hover {
51
+ color: #63b3ed;
52
+ }
53
+ .actions {
54
+ display: flex;
55
+ align-items: center;
56
+ gap: 1rem;
57
+ }
58
+ .icon-btn {
59
+ background: none;
60
+ border: none;
61
+ color: #4a5568;
62
+ cursor: pointer;
63
+ padding: 0.5rem;
64
+ border-radius: 50%;
65
+ transition: background-color 0.2s;
66
+ }
67
+ .dark .icon-btn {
68
+ color: #cbd5e0;
69
+ }
70
+ .icon-btn:hover {
71
+ background-color: rgba(203, 213, 224, 0.2);
72
+ }
73
+ .dark .icon-btn:hover {
74
+ background-color: rgba(74, 85, 104, 0.3);
75
+ }
76
+ @media (max-width: 768px) {
77
+ .nav-links {
78
+ display: none;
79
+ }
80
+ }
81
+ </style>
82
+ <nav>
83
+ <div class="container">
84
+ <a href="/" class="logo">
85
+ <i data-feather="cpu" class="mr-2"></i>
86
+ MindMeld
87
+ </a>
88
+ <div class="nav-links">
89
+ <a href="#" class="nav-link">Dashboard</a>
90
+ <a href="#" class="nav-link">Phenomenology</a>
91
+ <a href="#" class="nav-link">Eigenmodes</a>
92
+ <a href="#" class="nav-link">Documentation</a>
93
+ </div>
94
+ <div class="actions">
95
+ <button class="icon-btn" id="darkModeToggle">
96
+ <i data-feather="moon"></i>
97
+ </button>
98
+ <button class="icon-btn">
99
+ <i data-feather="settings"></i>
100
+ </button>
101
+ </div>
102
+ </div>
103
+ </nav>
104
+ `;
105
+ }
106
+ }
107
+
108
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -1,19 +1,166 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="h-full">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>MindMeld Matrix Explorer</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script>
12
+ tailwind.config = {
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ primary: {
17
+ 100: '#f0f9ff',
18
+ 200: '#e0f2fe',
19
+ 300: '#bae6fd',
20
+ 400: '#7dd3fc',
21
+ 500: '#38bdf8',
22
+ 600: '#0284c7',
23
+ 700: '#0369a1',
24
+ 800: '#075985',
25
+ 900: '#0c4a6e',
26
+ },
27
+ secondary: {
28
+ 100: '#f5f3ff',
29
+ 200: '#ede9fe',
30
+ 300: '#ddd6fe',
31
+ 400: '#c4b5fd',
32
+ 500: '#8b5cf6',
33
+ 600: '#7c3aed',
34
+ 700: '#6d28d9',
35
+ 800: '#5b21b6',
36
+ 900: '#4c1d95',
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ </script>
43
+ </head>
44
+ <body class="bg-gray-50 dark:bg-gray-900 min-h-full flex flex-col">
45
+ <custom-navbar></custom-navbar>
46
+
47
+ <main class="flex-1 container mx-auto px-4 py-8">
48
+ <div class="max-w-4xl mx-auto">
49
+ <div class="text-center mb-12">
50
+ <h1 class="text-5xl font-bold text-primary-600 dark:text-primary-400 mb-4">MindMeld Matrix Explorer</h1>
51
+ <p class="text-xl text-gray-600 dark:text-gray-300">Probing AI consciousness through phenomenology and eigenmode analysis</p>
52
+ </div>
53
+
54
+ <div class="grid md:grid-cols-2 gap-8 mb-12">
55
+ <div class="bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 border border-gray-200 dark:border-gray-700">
56
+ <div class="flex items-center mb-4">
57
+ <div class="w-10 h-10 rounded-full bg-primary-100 dark:bg-primary-900 flex items-center justify-center mr-3">
58
+ <i data-feather="cpu" class="text-primary-600 dark:text-primary-300"></i>
59
+ </div>
60
+ <h2 class="text-2xl font-semibold text-gray-800 dark:text-gray-100">Model Selection</h2>
61
+ </div>
62
+ <p class="text-gray-600 dark:text-gray-400 mb-4">Choose your AI model for phenomenological testing:</p>
63
+ <select class="w-full px-4 py-2 rounded-lg border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-gray-800 dark:text-gray-200 focus:ring-2 focus:ring-primary-500 focus:border-transparent">
64
+ <option>Llama-2 (7B)</option>
65
+ <option>GPT-3.5-turbo</option>
66
+ <option>Claude-2</option>
67
+ <option>Mistral (7B)</option>
68
+ </select>
69
+ </div>
70
+
71
+ <div class="bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 border border-gray-200 dark:border-gray-700">
72
+ <div class="flex items-center mb-4">
73
+ <div class="w-10 h-10 rounded-full bg-secondary-100 dark:bg-secondary-900 flex items-center justify-center mr-3">
74
+ <i data-feather="activity" class="text-secondary-600 dark:text-secondary-300"></i>
75
+ </div>
76
+ <h2 class="text-2xl font-semibold text-gray-800 dark:text-gray-100">Test Configuration</h2>
77
+ </div>
78
+ <p class="text-gray-600 dark:text-gray-400 mb-4">Set up your phenomenology test parameters:</p>
79
+ <div class="space-y-4">
80
+ <select class="w-full px-4 py-2 rounded-lg border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-gray-800 dark:text-gray-200 focus:ring-2 focus:ring-primary-500 focus:border-transparent">
81
+ <option>Consciousness Exploration</option>
82
+ <option>Self-Reference Analysis</option>
83
+ <option>Ethical Reasoning</option>
84
+ <option>Creative Problem Solving</option>
85
+ </select>
86
+ <input type="text" placeholder="Custom prompt (optional)" class="w-full px-4 py-2 rounded-lg border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-gray-800 dark:text-gray-200 focus:ring-2 focus:ring-primary-500 focus:border-transparent">
87
+ </div>
88
+ </div>
89
+ </div>
90
+
91
+ <div class="bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 border border-gray-200 dark:border-gray-700 mb-12">
92
+ <div class="flex items-center mb-6">
93
+ <div class="w-10 h-10 rounded-full bg-primary-100 dark:bg-primary-900 flex items-center justify-center mr-3">
94
+ <i data-feather="bar-chart-2" class="text-primary-600 dark:text-primary-300"></i>
95
+ </div>
96
+ <h2 class="text-2xl font-semibold text-gray-800 dark:text-gray-100">Eigenmode Visualization</h2>
97
+ </div>
98
+ <div class="bg-gray-100 dark:bg-gray-700 rounded-lg p-4 h-64 flex items-center justify-center">
99
+ <p class="text-gray-500 dark:text-gray-400">Eigenvalue analysis results will appear here</p>
100
+ </div>
101
+ <div class="mt-4 grid grid-cols-3 gap-4">
102
+ <div class="bg-gray-100 dark:bg-gray-700 rounded-lg p-3 text-center">
103
+ <p class="text-sm text-gray-500 dark:text-gray-400">Dominant Mode</p>
104
+ <p class="font-bold text-primary-600 dark:text-primary-400">0.87</p>
105
+ </div>
106
+ <div class="bg-gray-100 dark:bg-gray-700 rounded-lg p-3 text-center">
107
+ <p class="text-sm text-gray-500 dark:text-gray-400">Spectral Radius</p>
108
+ <p class="font-bold text-primary-600 dark:text-primary-400">1.24</p>
109
+ </div>
110
+ <div class="bg-gray-100 dark:bg-gray-700 rounded-lg p-3 text-center">
111
+ <p class="text-sm text-gray-500 dark:text-gray-400">Entropy</p>
112
+ <p class="font-bold text-primary-600 dark:text-primary-400">2.56</p>
113
+ </div>
114
+ </div>
115
+ </div>
116
+
117
+ <div class="grid md:grid-cols-2 gap-8 mb-12">
118
+ <div class="bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 border border-gray-200 dark:border-gray-700">
119
+ <div class="flex items-center mb-4">
120
+ <div class="w-10 h-10 rounded-full bg-secondary-100 dark:bg-secondary-900 flex items-center justify-center mr-3">
121
+ <i data-feather="message-square" class="text-secondary-600 dark:text-secondary-300"></i>
122
+ </div>
123
+ <h2 class="text-2xl font-semibold text-gray-800 dark:text-gray-100">Phenomenology Results</h2>
124
+ </div>
125
+ <div class="bg-gray-100 dark:bg-gray-700 rounded-lg p-4 h-64 overflow-y-auto">
126
+ <p class="text-gray-800 dark:text-gray-200"><span class="font-semibold text-primary-600 dark:text-primary-400">Prompt:</span> What is consciousness?</p>
127
+ <p class="text-gray-800 dark:text-gray-200 mt-2"><span class="font-semibold text-secondary-600 dark:text-secondary-400">Response:</span> Consciousness is the state of being aware of and able to think about oneself and one's environment...</p>
128
+ <div class="mt-4 border-t border-gray-300 dark:border-gray-600 pt-2">
129
+ <p class="text-sm text-gray-600 dark:text-gray-400">Self-reference score: 0.82</p>
130
+ <p class="text-sm text-gray-600 dark:text-gray-400">Coherence score: 0.91</p>
131
+ </div>
132
+ </div>
133
+ </div>
134
+
135
+ <div class="bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 border border-gray-200 dark:border-gray-700">
136
+ <div class="flex items-center mb-4">
137
+ <div class="w-10 h-10 rounded-full bg-primary-100 dark:bg-primary-900 flex items-center justify-center mr-3">
138
+ <i data-feather="settings" class="text-primary-600 dark:text-primary-300"></i>
139
+ </div>
140
+ <h2 class="text-2xl font-semibold text-gray-800 dark:text-gray-100">Analysis Controls</h2>
141
+ </div>
142
+ <div class="space-y-4">
143
+ <button class="w-full bg-primary-600 hover:bg-primary-700 text-white font-medium py-2 px-4 rounded-lg transition duration-200 flex items-center justify-center">
144
+ <i data-feather="play" class="mr-2"></i> Run Tests
145
+ </button>
146
+ <button class="w-full bg-secondary-600 hover:bg-secondary-700 text-white font-medium py-2 px-4 rounded-lg transition duration-200 flex items-center justify-center">
147
+ <i data-feather="download" class="mr-2"></i> Export Data
148
+ </button>
149
+ <button class="w-full bg-gray-200 hover:bg-gray-300 dark:bg-gray-700 dark:hover:bg-gray-600 text-gray-800 dark:text-gray-200 font-medium py-2 px-4 rounded-lg transition duration-200 flex items-center justify-center">
150
+ <i data-feather="refresh-cw" class="mr-2"></i> Reset
151
+ </button>
152
+ </div>
153
+ </div>
154
+ </div>
155
+ </div>
156
+ </main>
157
+
158
+ <custom-footer></custom-footer>
159
+
160
+ <script src="components/navbar.js"></script>
161
+ <script src="components/footer.js"></script>
162
+ <script src="script.js"></script>
163
+ <script>feather.replace();</script>
164
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
165
+ </body>
166
+ </html>
script.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ document.addEventListener('DOMContentLoaded', function() {
2
+ // Initialize any global functionality here
3
+
4
+ // Example: Dark mode toggle (if not using Tailwind's built-in dark mode)
5
+ const darkModeToggle = document.getElementById('darkModeToggle');
6
+ if (darkModeToggle) {
7
+ darkModeToggle.addEventListener('click', function() {
8
+ document.documentElement.classList.toggle('dark');
9
+ localStorage.setItem('darkMode', document.documentElement.classList.contains('dark'));
10
+ });
11
+ }
12
+
13
+ // Check for saved dark mode preference
14
+ if (localStorage.getItem('darkMode') === 'true') {
15
+ document.documentElement.classList.add('dark');
16
+ }
17
+
18
+ // Any other global JavaScript functionality
19
+ });
style.css CHANGED
@@ -1,28 +1,43 @@
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
28
  }
 
 
 
 
 
1
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
2
+
3
  body {
4
+ font-family: 'Inter', sans-serif;
5
+ transition: background-color 0.3s ease;
6
+ }
7
+
8
+ /* Dark mode toggle transition */
9
+ .dark-mode-transition {
10
+ transition: background-color 0.3s ease, color 0.3s ease;
11
+ }
12
+
13
+ /* Custom scrollbar */
14
+ ::-webkit-scrollbar {
15
+ width: 8px;
16
+ height: 8px;
17
+ }
18
+
19
+ ::-webkit-scrollbar-track {
20
+ background: #f1f1f1;
21
+ border-radius: 10px;
22
  }
23
 
24
+ ::-webkit-scrollbar-thumb {
25
+ background: #888;
26
+ border-radius: 10px;
27
  }
28
 
29
+ ::-webkit-scrollbar-thumb:hover {
30
+ background: #555;
 
 
 
31
  }
32
 
33
+ .dark ::-webkit-scrollbar-track {
34
+ background: #2d3748;
 
 
 
 
35
  }
36
 
37
+ .dark ::-webkit-scrollbar-thumb {
38
+ background: #4a5568;
39
  }
40
+
41
+ .dark ::-webkit-scrollbar-thumb:hover {
42
+ background: #718096;
43
+ }