AEGIS Bio-Digital Lab commited on
Commit
51582f4
·
1 Parent(s): e4513aa

🧬 AEGIS Bio-Digital Lab 10 - Complete Integration

Browse files

- Added Mission Statement: Sovereign Timeline Project
- Integrated Investment Call with strategic partnership info
- Added Sovereign Quadrant Engine visualization
- Integrated AEGIS logo with professional styling
- Enhanced bio-digital synthesis interface
- Updated branding and visual design
- Added comprehensive contact information

Ready for strategic investment discussions and research partnerships.

README.md CHANGED
@@ -1,13 +1,64 @@
1
  ---
2
- title: Fastsdcpu
3
- emoji: 📉
4
  colorFrom: blue
5
- colorTo: blue
6
  sdk: gradio
7
- sdk_version: 5.25.2
8
  app_file: app.py
9
  pinned: false
10
  license: mit
11
  ---
12
 
13
- Check out the configuration reference at <https://huggingface.co/docs/hub/spaces-config-reference>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: AEGIS Bio-Digital Lab 10
3
+ emoji: 🧬
4
  colorFrom: blue
5
+ colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 4.44.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
11
  ---
12
 
13
+ # 🧬 AEGIS Bio-Digital Lab 10
14
+
15
+ **Artificially Expanded Genetic Information System**
16
+
17
+ ## 🎯 Mission: The Sovereign Timeline Project
18
+
19
+ Our mission is to build a **predictive immune system for humanity**. AEGIS Bio-Digital Lab 10 is the world's first temporal bio-digital modeling platform designed to visualize, understand, and preemptively counteract global biological threats before they emerge.
20
+
21
+ ## 🔬 Bio-Digital Synthesis Modules
22
+
23
+ - **🦠 Pathogen Timeline**: Models morphological evolution of viruses & bacteria across time
24
+ - **🧬 Synthetic Genomics**: Renders novel genetic circuits and AEGIS base pair structures
25
+ - **🔬 Multi-Scale Imaging**: From atomic protein folds to tissue-level pathology
26
+ - **⚙️ Tech-Bio Fusion**: Bio-hybrid devices and computational biological systems
27
+
28
+ ## 🧭 Sovereign Quadrant Engine
29
+
30
+ | Component | Technology |
31
+ |-----------|------------|
32
+ | 🧠 **REASONING** | Nemotron AI |
33
+ | 🧬 **GENOMICS** | AEGIS Data |
34
+ | 🔬 **MICROSCOPY** | 2D/3D Imaging |
35
+ | 📊 **VOLUME** | Temporal Models |
36
+
37
+ ## 💰 Strategic Investment
38
+
39
+ **Partner in the Sovereign Timeline** - We are seeking visionary partners to help build humanity's predictive immune system. Your investment will:
40
+
41
+ 1. **Expand the Timeline**: Scale high-fidelity models to simulate decades of evolution
42
+ 2. **Fortify the Dataverse**: Integrate next-generation genomic and epidemiological datasets
43
+ 3. **Democratize the Shield**: Deploy public-facing simulation modules
44
+
45
+ *"This is more than an investment in technology. It is an investment in time—buying humanity the critical hours, days, and years needed to prevent the next crisis."*
46
+
47
+ ## 📞 Contact
48
+
49
+ **Gaston Software Solutions Tec | Sovereign Timeline Division**
50
+ - **Tel**: +256755274944
51
+ - **Purpose**: Strategic investment discussions and research partnerships
52
+
53
+ ## 🚀 Usage
54
+
55
+ Simply describe the biological or bio-technological concept you want to visualize, and AEGIS will generate high-fidelity scientific illustrations across different temporal domains (Past, Present, Future).
56
+
57
+ **Example Prompts:**
58
+ - "3D timeline showing influenza virus spike protein variation from 1918 to present"
59
+ - "Glowing schematic view of expanded DNA helix with synthetic nucleotides"
60
+ - "Cross-section from atomic detail of receptor to full cellular infection event"
61
+
62
+ ---
63
+
64
+ *Powered by Sovereign Quadrant AI — Synthesizing Reasoning, Genomics, Microscopy, and Volumetric Data*
backend/__pycache__/__init__.cpython-311.pyc CHANGED
Binary files a/backend/__pycache__/__init__.cpython-311.pyc and b/backend/__pycache__/__init__.cpython-311.pyc differ
 
backend/__pycache__/device.cpython-311.pyc CHANGED
Binary files a/backend/__pycache__/device.cpython-311.pyc and b/backend/__pycache__/device.cpython-311.pyc differ
 
backend/__pycache__/lcm_text_to_image.cpython-311.pyc CHANGED
Binary files a/backend/__pycache__/lcm_text_to_image.cpython-311.pyc and b/backend/__pycache__/lcm_text_to_image.cpython-311.pyc differ
 
backend/models/__pycache__/lcmdiffusion_setting.cpython-311.pyc CHANGED
Binary files a/backend/models/__pycache__/lcmdiffusion_setting.cpython-311.pyc and b/backend/models/__pycache__/lcmdiffusion_setting.cpython-311.pyc differ
 
constants.py CHANGED
@@ -2,10 +2,10 @@ from os import environ, cpu_count
2
 
3
  cpu_cores = cpu_count()
4
  cpus = cpu_cores // 2 if cpu_cores else 0
5
- APP_VERSION = "v1.0.0 beta 200"
6
  LCM_DEFAULT_MODEL = "stabilityai/sd-turbo"
7
  LCM_DEFAULT_MODEL_OPENVINO = "rupeshs/sd-turbo-openvino"
8
- APP_NAME = "FastSD CPU"
9
  APP_SETTINGS_FILE = "settings.yaml"
10
  RESULTS_DIRECTORY = "results"
11
  CONFIG_DIRECTORY = "configs"
 
2
 
3
  cpu_cores = cpu_count()
4
  cpus = cpu_cores // 2 if cpu_cores else 0
5
+ APP_VERSION = "v1.0.0 beta 200 - AEGIS Bio-Digital Lab 10"
6
  LCM_DEFAULT_MODEL = "stabilityai/sd-turbo"
7
  LCM_DEFAULT_MODEL_OPENVINO = "rupeshs/sd-turbo-openvino"
8
+ APP_NAME = "AEGIS Bio-Digital Lab 10"
9
  APP_SETTINGS_FILE = "settings.yaml"
10
  RESULTS_DIRECTORY = "results"
11
  CONFIG_DIRECTORY = "configs"
frontend/webui/css/style.css CHANGED
@@ -2,21 +2,120 @@ footer {
2
  visibility: hidden
3
  }
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  #generate_button {
6
  color: white;
7
- border-color: #007bff;
8
- background: #2563eb;
 
 
 
 
 
9
 
 
 
 
 
10
  }
11
 
12
  #save_button {
13
  color: white;
14
- border-color: #028b40;
15
- background: #01b97c;
16
  width: 200px;
 
 
 
 
 
 
 
 
 
17
  }
18
 
19
  #settings_header {
20
- background: rgb(245, 105, 105);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
 
 
 
22
  }
 
2
  visibility: hidden
3
  }
4
 
5
+ /* AEGIS Logo Styling */
6
+ #aegis_logo {
7
+ text-align: center;
8
+ margin-bottom: 20px;
9
+ padding: 10px;
10
+ }
11
+
12
+ #aegis_logo img {
13
+ max-width: 200px;
14
+ height: auto;
15
+ border-radius: 10px;
16
+ box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
17
+ transition: all 0.3s ease;
18
+ }
19
+
20
+ #aegis_logo img:hover {
21
+ transform: scale(1.05);
22
+ box-shadow: 0 6px 20px rgba(30, 60, 114, 0.5);
23
+ }
24
+
25
  #generate_button {
26
  color: white;
27
+ border-color: #1e3c72;
28
+ background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
29
+ border-radius: 10px;
30
+ font-weight: bold;
31
+ transition: all 0.3s ease;
32
+ box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
33
+ }
34
 
35
+ #generate_button:hover {
36
+ transform: translateY(-3px);
37
+ box-shadow: 0 8px 25px rgba(30, 60, 114, 0.5);
38
+ background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
39
  }
40
 
41
  #save_button {
42
  color: white;
43
+ border-color: #0f4c75;
44
+ background: linear-gradient(135deg, #0f4c75 0%, #3282b8 100%);
45
  width: 200px;
46
+ border-radius: 10px;
47
+ font-weight: bold;
48
+ transition: all 0.3s ease;
49
+ box-shadow: 0 4px 15px rgba(15, 76, 117, 0.3);
50
+ }
51
+
52
+ #save_button:hover {
53
+ transform: translateY(-3px);
54
+ box-shadow: 0 8px 25px rgba(15, 76, 117, 0.5);
55
  }
56
 
57
  #settings_header {
58
+ background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
59
+ color: white;
60
+ border-radius: 10px;
61
+ padding: 15px;
62
+ font-weight: bold;
63
+ box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
64
+ }
65
+
66
+ /* AEGIS Bio-Digital Lab styling */
67
+ .gradio-container {
68
+ background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
69
+ min-height: 100vh;
70
+ }
71
+
72
+ #container {
73
+ background: rgba(255, 255, 255, 0.95);
74
+ border-radius: 15px;
75
+ padding: 25px;
76
+ margin: 20px;
77
+ box-shadow: 0 8px 32px rgba(0,0,0,0.1);
78
+ backdrop-filter: blur(10px);
79
+ border: 2px solid rgba(30, 60, 114, 0.3);
80
+ }
81
+
82
+ #intro {
83
+ background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
84
+ color: white;
85
+ padding: 25px;
86
+ border-radius: 12px;
87
+ margin-bottom: 20px;
88
+ box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
89
+ border: 1px solid rgba(255,255,255,0.2);
90
+ }
91
+
92
+ .gr-textbox {
93
+ border-radius: 8px;
94
+ border: 2px solid #1e3c72;
95
+ background: rgba(255,255,255,0.95);
96
+ }
97
+
98
+ .gr-slider {
99
+ accent-color: #1e3c72;
100
+ }
101
+
102
+ .gr-accordion {
103
+ background: rgba(30, 60, 114, 0.1);
104
+ border: 1px solid rgba(30, 60, 114, 0.3);
105
+ border-radius: 8px;
106
+ }
107
+
108
+ /* Bio-digital visual effects */
109
+ .gr-button {
110
+ background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
111
+ border: none;
112
+ color: white;
113
+ font-weight: bold;
114
+ border-radius: 8px;
115
+ transition: all 0.3s ease;
116
+ }
117
 
118
+ .gr-button:hover {
119
+ transform: translateY(-2px);
120
+ box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
121
  }
frontend/webui/hf_demo.py CHANGED
@@ -84,23 +84,116 @@ def predict(
84
  css = """
85
  #container{
86
  margin: 0 auto;
87
- max-width: 40rem;
 
 
 
 
 
 
88
  }
89
  #intro{
90
  max-width: 100%;
91
  text-align: center;
92
  margin: 0 auto;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  }
94
  #generate_button {
95
  color: white;
96
- border-color: #007bff;
97
- background: #007bff;
98
  width: 200px;
99
- height: 50px;
 
 
 
 
 
 
 
 
 
 
100
  }
101
  footer {
102
  visibility: hidden
103
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  """
105
 
106
 
@@ -108,60 +201,206 @@ def _get_footer_message() -> str:
108
  version = f"<center><p> {APP_VERSION} "
109
  footer_msg = version + (
110
  ' © 2025 <a href="https://github.com/rupeshs">'
111
- " Rupesh Sreeraman</a></p></center>"
112
  )
113
- warning_msg = "<p><b> Please note that this is a minimal demo app.</b> </p><br>"
 
 
 
 
 
 
 
114
  return warning_msg + footer_msg
115
 
116
 
117
  with gr.Blocks(css=css) as demo:
118
  with gr.Column(elem_id="container"):
 
 
 
 
 
 
 
119
  use_openvino = "" if is_openvino_device() else ""
120
  gr.Markdown(
121
- f"""# FastSD CPU demo {use_openvino}
122
- **Device : {DEVICE.upper()} , {get_device_name()} | OpenVINO**
 
 
 
 
 
 
123
  """,
124
  elem_id="intro",
125
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  gr.HTML(
127
  f"""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  <p id="project-links" align="center">
129
- <a href='https://github.com/rupeshs/fastsdcpu'><img src='https://img.shields.io/badge/Project-Page-Green'></a>
 
 
130
  </p>
131
  """
132
  )
133
 
134
  with gr.Row():
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  with gr.Row():
136
  prompt = gr.Textbox(
137
- placeholder="Describe the image you'd like to see",
138
  scale=5,
139
  container=False,
 
 
140
  )
141
  generate_btn = gr.Button(
142
- "Generate",
143
  scale=1,
144
  elem_id="generate_button",
145
  )
146
 
147
- image = gr.Image(type="filepath")
148
- with gr.Accordion("Advanced options", open=False):
 
 
 
 
 
 
149
  steps = gr.Slider(
150
- label="Steps",
151
  value=1,
152
  minimum=1,
153
  maximum=3,
154
  step=1,
 
155
  )
156
  seed = gr.Slider(
157
  randomize=True,
158
  minimum=0,
159
  maximum=999999999,
160
- label="Seed",
161
  step=1,
 
162
  )
163
  seed_checkbox = gr.Checkbox(
164
- label="Use seed",
165
  value=False,
166
  interactive=True,
167
  )
 
84
  css = """
85
  #container{
86
  margin: 0 auto;
87
+ max-width: 55rem;
88
+ background: rgba(255, 255, 255, 0.95);
89
+ border-radius: 15px;
90
+ padding: 25px;
91
+ box-shadow: 0 8px 32px rgba(0,0,0,0.1);
92
+ backdrop-filter: blur(10px);
93
+ border: 2px solid rgba(30, 60, 114, 0.3);
94
  }
95
  #intro{
96
  max-width: 100%;
97
  text-align: center;
98
  margin: 0 auto;
99
+ background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
100
+ color: white;
101
+ padding: 25px;
102
+ border-radius: 12px;
103
+ margin-bottom: 20px;
104
+ box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
105
+ border: 1px solid rgba(255,255,255,0.2);
106
+ }
107
+ #aegis_logo {
108
+ text-align: center;
109
+ margin-bottom: 20px;
110
+ padding: 10px;
111
+ }
112
+ #aegis_logo img {
113
+ max-width: 200px;
114
+ height: auto;
115
+ border-radius: 10px;
116
+ box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
117
+ transition: all 0.3s ease;
118
+ }
119
+ #aegis_logo img:hover {
120
+ transform: scale(1.05);
121
+ box-shadow: 0 6px 20px rgba(30, 60, 114, 0.5);
122
+ }
123
+ .mission-section {
124
+ background: linear-gradient(135deg, #2c1810 0%, #8b4513 50%, #d2691e 100%);
125
+ padding: 25px;
126
+ border-radius: 12px;
127
+ margin: 20px 0;
128
+ color: white;
129
+ box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
130
+ }
131
+ .investment-section {
132
+ background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 50%, #4a7c59 100%);
133
+ padding: 25px;
134
+ border-radius: 12px;
135
+ margin: 20px 0;
136
+ color: white;
137
+ box-shadow: 0 8px 25px rgba(26, 71, 42, 0.4);
138
+ }
139
+ .quadrant-section {
140
+ background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 50%, #9c27b0 100%);
141
+ padding: 25px;
142
+ border-radius: 12px;
143
+ margin: 20px 0;
144
+ color: white;
145
+ box-shadow: 0 8px 25px rgba(74, 20, 140, 0.4);
146
+ }
147
+ .contact-section {
148
+ background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 50%, #f44336 100%);
149
+ padding: 20px;
150
+ border-radius: 12px;
151
+ margin: 20px 0;
152
+ color: white;
153
+ text-align: center;
154
+ box-shadow: 0 8px 25px rgba(183, 28, 28, 0.4);
155
  }
156
  #generate_button {
157
  color: white;
158
+ border-color: #1e3c72;
159
+ background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
160
  width: 200px;
161
+ height: 60px;
162
+ border-radius: 10px;
163
+ font-weight: bold;
164
+ font-size: 16px;
165
+ transition: all 0.3s ease;
166
+ box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
167
+ }
168
+ #generate_button:hover {
169
+ transform: translateY(-3px);
170
+ box-shadow: 0 8px 25px rgba(30, 60, 114, 0.5);
171
+ background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
172
  }
173
  footer {
174
  visibility: hidden
175
  }
176
+ body {
177
+ background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
178
+ min-height: 100vh;
179
+ }
180
+ .gradio-container {
181
+ background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
182
+ min-height: 100vh;
183
+ }
184
+ .gr-textbox {
185
+ border: 2px solid #1e3c72;
186
+ border-radius: 8px;
187
+ background: rgba(255,255,255,0.95);
188
+ }
189
+ .gr-slider {
190
+ accent-color: #1e3c72;
191
+ }
192
+ .gr-accordion {
193
+ background: rgba(30, 60, 114, 0.1);
194
+ border: 1px solid rgba(30, 60, 114, 0.3);
195
+ border-radius: 8px;
196
+ }
197
  """
198
 
199
 
 
201
  version = f"<center><p> {APP_VERSION} "
202
  footer_msg = version + (
203
  ' © 2025 <a href="https://github.com/rupeshs">'
204
+ " Rupesh Sreeraman</a> | AEGIS Bio-Digital Lab 10</p></center>"
205
  )
206
+ warning_msg = """
207
+ <div style="background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); padding: 20px; border-radius: 10px; color: white; text-align: center; margin: 20px 0;">
208
+ <p><b>🧬 AEGIS Bio-Digital Lab 10 - Advanced Bio-Digital Synthesis Platform</b></p>
209
+ <p><strong>Powered by:</strong> Sovereign Quadrant AI — Synthesizing Reasoning, Genomics, Microscopy, and Volumetric Data</p>
210
+ <p><strong>A Product of:</strong> Gaston Software Solutions Tec | <strong>Connect:</strong> Tel: +256755274944</p>
211
+ <p><em>For research and simulation purposes.</em></p>
212
+ </div><br>
213
+ """
214
  return warning_msg + footer_msg
215
 
216
 
217
  with gr.Blocks(css=css) as demo:
218
  with gr.Column(elem_id="container"):
219
+ # AEGIS Logo at the top center
220
+ gr.HTML("""
221
+ <div style="text-align: center; margin-bottom: 20px;">
222
+ <img src="file/logo/aegis.jpeg" alt="AEGIS Logo" style="max-width: 200px; height: auto; border-radius: 10px; box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);">
223
+ </div>
224
+ """)
225
+
226
  use_openvino = "" if is_openvino_device() else ""
227
  gr.Markdown(
228
+ f"""# 🧬 AEGIS Bio-Digital Lab 10 {use_openvino}
229
+ **Artificially Expanded Genetic Information System**
230
+
231
+ **Visualizing the Fabric of Life and Technology Through Time**
232
+
233
+ *Advanced generative intelligence platform transforming complex scientific and technological concepts into high-fidelity visualizations*
234
+
235
+ **Device:** {DEVICE.upper()} , {get_device_name()} | OpenVINO | **Powered by Sovereign Quadrant AI**
236
  """,
237
  elem_id="intro",
238
  )
239
+
240
+ # Mission Statement: The Sovereign Timeline Project
241
+ gr.HTML("""
242
+ <div style="background: linear-gradient(135deg, #2c1810 0%, #8b4513 50%, #d2691e 100%); padding: 25px; border-radius: 12px; margin: 20px 0; color: white; box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);">
243
+ <h2 style="text-align: center; margin-bottom: 20px; color: #ffd700;">🎯 Mission Statement: The Sovereign Timeline Project</h2>
244
+ <p style="font-size: 18px; line-height: 1.6; margin-bottom: 15px; text-align: justify;">
245
+ <strong>Our mission is to build a predictive immune system for humanity.</strong> The Artificially Expanded Genetic Information System (AEGIS) – Bio-Digital Lab 10 is not a tool for the present, but a shield for the future. We are developing the world's first temporal bio-digital modeling platform to visualize, understand, and preemptively counteract global biological threats before they emerge.
246
+ </p>
247
+ <p style="font-size: 16px; line-height: 1.6; text-align: justify;">
248
+ By simulating pathogen evolution, mapping the hidden pathways of future pandemics, and designing proactive countermeasures across projected timelines, we aim to transform global health security from a reactive struggle into a predictive science.
249
+ </p>
250
+ </div>
251
+ """)
252
+
253
+ # Investment Call to Action
254
+ gr.HTML("""
255
+ <div style="background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 50%, #4a7c59 100%); padding: 25px; border-radius: 12px; margin: 20px 0; color: white; box-shadow: 0 8px 25px rgba(26, 71, 42, 0.4);">
256
+ <h2 style="text-align: center; margin-bottom: 20px; color: #90ee90;">📢 Investment Call: Partner in the Sovereign Timeline</h2>
257
+ <p style="font-size: 18px; line-height: 1.6; margin-bottom: 15px; text-align: center;">
258
+ <strong>The next great leap in human survival will not be fought in clinics alone, but in the sovereign digital space where time itself becomes a variable.</strong>
259
+ </p>
260
+ <div style="background: rgba(255,255,255,0.1); padding: 20px; border-radius: 8px; margin: 15px 0;">
261
+ <h3 style="color: #90ee90; margin-bottom: 15px;">💰 Invest in the Predictive Frontier</h3>
262
+ <p style="margin-bottom: 10px;">Your capital will directly fuel the core engines of the Sovereign Quadrant:</p>
263
+ <ol style="margin: 10px 0; padding-left: 20px; line-height: 1.8;">
264
+ <li><strong>Expand the Timeline:</strong> Scale our high-fidelity models to simulate decades, not years, of viral and technological evolution.</li>
265
+ <li><strong>Fortify the Dataverse:</strong> Integrate next-generation genomic, climate, and epidemiological datasets to increase predictive accuracy.</li>
266
+ <li><strong>Democratize the Shield:</strong> Deploy public-facing simulation modules (like this Space) to accelerate global research and preparedness.</li>
267
+ </ol>
268
+ </div>
269
+ <p style="font-size: 16px; line-height: 1.6; text-align: center; font-style: italic; margin: 15px 0;">
270
+ "This is more than an investment in technology. It is an investment in time—buying humanity the critical hours, days, and years needed to prevent the next crisis."
271
+ </p>
272
+ </div>
273
+ """)
274
+
275
+ # Sovereign Quadrant Visual
276
+ gr.HTML("""
277
+ <div style="background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 50%, #9c27b0 100%); padding: 25px; border-radius: 12px; margin: 20px 0; color: white; box-shadow: 0 8px 25px rgba(74, 20, 140, 0.4);">
278
+ <h3 style="text-align: center; margin-bottom: 20px; color: #e1bee7;">🧭 The Sovereign Quadrant Engine</h3>
279
+ <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 20px 0;">
280
+ <div style="background: rgba(255,255,255,0.15); padding: 20px; border-radius: 8px; text-align: center;">
281
+ <h4 style="color: #f3e5f5; margin-bottom: 10px;">🧠 REASONING</h4>
282
+ <p style="font-size: 14px;">Nemotron AI</p>
283
+ </div>
284
+ <div style="background: rgba(255,255,255,0.15); padding: 20px; border-radius: 8px; text-align: center;">
285
+ <h4 style="color: #f3e5f5; margin-bottom: 10px;">🧬 GENOMICS</h4>
286
+ <p style="font-size: 14px;">AEGIS Data</p>
287
+ </div>
288
+ <div style="background: rgba(255,255,255,0.15); padding: 20px; border-radius: 8px; text-align: center;">
289
+ <h4 style="color: #f3e5f5; margin-bottom: 10px;">🔬 MICROSCOPY</h4>
290
+ <p style="font-size: 14px;">2D/3D Imaging</p>
291
+ </div>
292
+ <div style="background: rgba(255,255,255,0.15); padding: 20px; border-radius: 8px; text-align: center;">
293
+ <h4 style="color: #f3e5f5; margin-bottom: 10px;">📊 VOLUME</h4>
294
+ <p style="font-size: 14px;">Temporal Models</p>
295
+ </div>
296
+ </div>
297
+ <p style="text-align: center; font-style: italic; margin-top: 15px;">
298
+ "Building the mirror that shows us our future, so we can change it."
299
+ </p>
300
+ </div>
301
+ """)
302
+
303
+ # Strategic Partnership Contact
304
+ gr.HTML("""
305
+ <div style="background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 50%, #f44336 100%); padding: 20px; border-radius: 12px; margin: 20px 0; color: white; text-align: center; box-shadow: 0 8px 25px rgba(183, 28, 28, 0.4);">
306
+ <h3 style="margin-bottom: 15px; color: #ffcdd2;">🤝 Strategic Investment Discussions</h3>
307
+ <p style="font-size: 18px; font-weight: bold; margin-bottom: 10px;">Gaston Software Solutions Tec | Sovereign Timeline Division</p>
308
+ <p style="font-size: 16px; margin-bottom: 5px;"><strong>Tel:</strong> +256755274944</p>
309
+ <p style="font-size: 14px; font-style: italic;">Contact us to join the mission of building humanity's predictive immune system</p>
310
+ </div>
311
+ """)
312
+
313
  gr.HTML(
314
  f"""
315
+ <div style="background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); padding: 20px; border-radius: 10px; margin: 10px 0; color: white;">
316
+ <h3>🔬 Bio-Digital Synthesis Modules</h3>
317
+ <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; margin-top: 15px;">
318
+ <div style="background: rgba(255,255,255,0.1); padding: 15px; border-radius: 8px;">
319
+ <strong>🦠 Pathogen Timeline</strong><br>
320
+ <small>Models morphological evolution of viruses & bacteria across time</small>
321
+ </div>
322
+ <div style="background: rgba(255,255,255,0.1); padding: 15px; border-radius: 8px;">
323
+ <strong>🧬 Synthetic Genomics</strong><br>
324
+ <small>Renders novel genetic circuits and AEGIS base pair structures</small>
325
+ </div>
326
+ <div style="background: rgba(255,255,255,0.1); padding: 15px; border-radius: 8px;">
327
+ <strong>🔬 Multi-Scale Imaging</strong><br>
328
+ <small>From atomic protein folds to tissue-level pathology</small>
329
+ </div>
330
+ <div style="background: rgba(255,255,255,0.1); padding: 15px; border-radius: 8px;">
331
+ <strong>⚙️ Tech-Bio Fusion</strong><br>
332
+ <small>Bio-hybrid devices and computational biological systems</small>
333
+ </div>
334
+ </div>
335
+ </div>
336
  <p id="project-links" align="center">
337
+ <a href='https://github.com/rupeshs/fastsdcpu'><img src='https://img.shields.io/badge/AEGIS-Bio Digital Lab-Purple'></a>
338
+ <a href='#'><img src='https://img.shields.io/badge/Powered by-Sovereign Quadrant AI-Blue'></a>
339
+ <a href='#'><img src='https://img.shields.io/badge/Gaston-Software Solutions-Green'></a>
340
  </p>
341
  """
342
  )
343
 
344
  with gr.Row():
345
+ with gr.Column(scale=2):
346
+ gr.HTML("""
347
+ <div style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 15px; border-radius: 8px; color: white; margin-bottom: 15px;">
348
+ <h4>🧬 Bio-Digital Synthesis Instructions</h4>
349
+ <ol style="margin: 10px 0; padding-left: 20px;">
350
+ <li><strong>Select Temporal Domain:</strong> Past (historical pandemics), Present (current lab models), Future (speculative synthetic biology)</li>
351
+ <li><strong>Define Subject:</strong> Input target organism, mechanism, or bio-tech fusion concept</li>
352
+ <li><strong>Set Parameters:</strong> Adjust complexity, style (schematic vs. photorealistic), resolution</li>
353
+ <li><strong>Synthesize:</strong> Generate unique bio-digital visualization</li>
354
+ </ol>
355
+ <div style="background: rgba(255,255,255,0.1); padding: 10px; border-radius: 5px; margin-top: 10px;">
356
+ <strong>Example Prompts:</strong><br>
357
+ • "3D timeline showing influenza virus spike protein variation from 1918 to present"<br>
358
+ • "Glowing schematic view of expanded DNA helix with synthetic nucleotides"<br>
359
+ • "Cross-section from atomic detail of receptor to full cellular infection event"<br>
360
+ • "Neural interface device with organic circuitry integrated with semiconductor layers"
361
+ </div>
362
+ </div>
363
+ """)
364
  with gr.Row():
365
  prompt = gr.Textbox(
366
+ placeholder="Example: 'Generate a photorealistic cross-sectional view of a hypothesized Martian extremophile bacterium, based on terrestrial archaea genetics, with radiation-resistant protein capsid. Style: scientific illustration with labeled components.'",
367
  scale=5,
368
  container=False,
369
+ lines=3,
370
+ label="🧬 Bio-Digital Synthesis Prompt"
371
  )
372
  generate_btn = gr.Button(
373
+ "🔬 Synthesize",
374
  scale=1,
375
  elem_id="generate_button",
376
  )
377
 
378
+ image = gr.Image(type="filepath", label="🧬 Bio-Digital Visualization Output")
379
+ with gr.Accordion("🔬 Advanced Bio-Digital Parameters", open=False):
380
+ gr.HTML("""
381
+ <div style="background: #f0f8ff; padding: 10px; border-radius: 5px; margin-bottom: 10px;">
382
+ <strong>Temporal Domains:</strong> Past (1800-1999) | Present (2000-2024) | Future (2025-2100)<br>
383
+ <strong>Visualization Styles:</strong> Schematic, Photorealistic, Scientific Illustration, Cross-sectional
384
+ </div>
385
+ """)
386
  steps = gr.Slider(
387
+ label="🔬 Synthesis Complexity",
388
  value=1,
389
  minimum=1,
390
  maximum=3,
391
  step=1,
392
+ info="Higher values = more detailed bio-digital rendering"
393
  )
394
  seed = gr.Slider(
395
  randomize=True,
396
  minimum=0,
397
  maximum=999999999,
398
+ label="🧬 Genetic Seed",
399
  step=1,
400
+ info="Reproducible bio-digital synthesis"
401
  )
402
  seed_checkbox = gr.Checkbox(
403
+ label="🔒 Lock Genetic Seed",
404
  value=False,
405
  interactive=True,
406
  )
frontend/webui/ui.py CHANGED
@@ -14,8 +14,8 @@ app_settings = get_settings()
14
  def _get_footer_message() -> str:
15
  version = f"<center><p> {APP_VERSION} "
16
  footer_msg = version + (
17
- ' © 2023 <a href="https://github.com/rupeshs">'
18
- " Rupesh Sreeraman</a></p></center>"
19
  )
20
  return footer_msg
21
 
@@ -32,9 +32,18 @@ def get_web_ui() -> gr.Blocks:
32
 
33
  with gr.Blocks(
34
  css=FastStableDiffusionPaths.get_css_path(),
35
- title="FastSD CPU",
36
  ) as fastsd_web_ui:
37
- gr.HTML("<center><H1>FastSD CPU</H1></center>")
 
 
 
 
 
 
 
 
 
38
  current_mode = "LCM"
39
  if app_settings.settings.lcm_diffusion_setting.use_openvino:
40
  current_mode = "LCM-OpenVINO"
 
14
  def _get_footer_message() -> str:
15
  version = f"<center><p> {APP_VERSION} "
16
  footer_msg = version + (
17
+ ' © 2025 <a href="https://github.com/rupeshs">'
18
+ " Rupesh Sreeraman</a> | AEGIS Bio-Digital Lab 10</p></center>"
19
  )
20
  return footer_msg
21
 
 
32
 
33
  with gr.Blocks(
34
  css=FastStableDiffusionPaths.get_css_path(),
35
+ title="AEGIS Bio-Digital Lab 10",
36
  ) as fastsd_web_ui:
37
+ # AEGIS Logo at the top center
38
+ gr.HTML("""
39
+ <div style="text-align: center; margin-bottom: 20px;">
40
+ <img src="file/logo/aegis.jpeg" alt="AEGIS Logo" style="max-width: 200px; height: auto; border-radius: 10px; box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);">
41
+ </div>
42
+ """)
43
+
44
+ gr.HTML("<center><H1>🧬 AEGIS Bio-Digital Lab 10</H1></center>")
45
+ gr.HTML("<center><p><strong>Artificially Expanded Genetic Information System</strong></p></center>")
46
+ gr.HTML("<center><p><em>Visualizing the Fabric of Life and Technology Through Time</em></p></center>")
47
  current_mode = "LCM"
48
  if app_settings.settings.lcm_diffusion_setting.use_openvino:
49
  current_mode = "LCM-OpenVINO"
logo/aegis.jpeg ADDED