Modaniels commited on
Commit
64d66f2
·
1 Parent(s): d5bf084

made the ui more intereactive!

Browse files
Files changed (1) hide show
  1. app.py +30 -12
app.py CHANGED
@@ -2,23 +2,41 @@ import gradio as gr
2
 
3
  def dennett_greeting(name):
4
  if name.strip() == "":
5
- return "System waiting for input..."
6
- return f"Access granted. Welcome to the sandbox, {name}."
 
7
 
8
- # We use gr.Blocks to create a custom, hacker-style layout
9
  with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
10
- # Here is your Logo and Header!
11
- gr.Markdown("# 🟩Δ DENNETT LABS")
12
- gr.Markdown("### Project: FirstBlood | Status: Online")
13
  gr.Markdown("---")
14
 
15
  with gr.Row():
16
- name_input = gr.Textbox(label="Identify Yourself", placeholder="Enter your name...")
17
- greeting_output = gr.Textbox(label="System Response", interactive=False)
18
-
19
- greet_btn = gr.Button("Initialize")
20
-
21
- # When the button is clicked, run the function
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  greet_btn.click(fn=dennett_greeting, inputs=name_input, outputs=greeting_output)
23
 
 
24
  demo.launch()
 
2
 
3
  def dennett_greeting(name):
4
  if name.strip() == "":
5
+ return "[SYSTEM]: Warning - Empty input. Waiting for valid identity..."
6
+ return f"[SYSTEM]: Access granted, {name}.\n\nWelcome to Dennett Labs. The intelligence is adapting. Telemetry pipelines are open. Ready for Phase 1."
7
+
8
 
 
9
  with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
10
+ gr.Markdown("# Δ DENNETT LABS")
11
+ gr.Markdown("### *True intelligence adapts to its environment with the least resources.*")
 
12
  gr.Markdown("---")
13
 
14
  with gr.Row():
15
+ # LEFT COLUMN: The Story & Manifesto
16
+ with gr.Column(scale=2):
17
+ gr.Markdown("""
18
+ ### The Vision
19
+ The rest of the world is treating AI like a magic black box, locking it inside massive data centers that require gigawatts of power and perfect 5G connections. We are going the other direction.
20
+
21
+ **Our goal:** Shrink highly capable, open-weight AI models down to bare-metal efficiency so they can run entirely offline as autonomous agents on $150 mobile phones in the Global South. No 5G. No cloud subscriptions. Just pure, on-device intelligence.
22
+
23
+ ### The Science
24
+ Named after philosopher Daniel Dennett, we treat neural networks like biological specimens. We do not build simple API wrappers. We do **Mechanistic Interpretability, Ablation, and Custom Quantization**.
25
+
26
+ We rip open `.gguf` files, delete layers of the AI's brain, and measure the cognitive decay to understand exactly how intelligence works at the tensor level.
27
+
28
+ ### 🚀 Current Status: Phase 1 (Observation)
29
+ The **Dennett Labs Simulation Sandbox (DLSS)** is actively running on local hardware. We are stress-testing sub-3B parameter models, generating local telemetry baselines, and preparing for our first model surgery.
30
+ """)
31
+
32
+ with gr.Column(scale=1):
33
+ gr.Markdown("### Public Terminal [v1.0]")
34
+ name_input = gr.Textbox(label="Identify Yourself", placeholder="Enter your designation...")
35
+ greet_btn = gr.Button("Initialize Connection", variant="primary")
36
+ greeting_output = gr.Textbox(label="System Response", interactive=False, lines=4)
37
+
38
+ # Trigger the function when the button is clicked
39
  greet_btn.click(fn=dennett_greeting, inputs=name_input, outputs=greeting_output)
40
 
41
+
42
  demo.launch()