Samuelson77 commited on
Commit
bdf9614
·
verified ·
1 Parent(s): f0de7d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -67,7 +67,6 @@ def execute_full_stack_diagnostics(buffer_scale: float, pqc_layers: int, radial_
67
  else f"Layer 2 binary unavailable.\n{BUILD_STATUS}"
68
  )
69
 
70
- # Layer 3: QUAV-QAOA Trajectory Planner + PQC-QRL + Relativistic Schwarzschild QFIM
71
  obstacles = [
72
  ObstaclePolygon(
73
  center_xy=(500.0, 200.0),
@@ -106,8 +105,7 @@ def execute_full_stack_diagnostics(buffer_scale: float, pqc_layers: int, radial_
106
  return l1_out, l2_out, l3_out
107
 
108
 
109
- # Build Gradio 4-Tab Flight Deck Interface
110
- with gr.Blocks(title="Q-SNASB & Q-MCT v4.2 Flight Deck", theme=gr.themes.Soft()) as demo:
111
  gr.Markdown(
112
  "## 🛰️ Q-SNASB & Q-MCT v4.2: Quantum Space Navigation & Adaptive Surveillance Bot System\n"
113
  "Switch between the **6-Mode Interactive Flight Deck**, **Quantum Metrology Benchmarks**, "
@@ -161,7 +159,6 @@ with gr.Blocks(title="Q-SNASB & Q-MCT v4.2 Flight Deck", theme=gr.themes.Soft())
161
  outputs=[l1_box, l2_box, l3_box],
162
  )
163
 
164
- # FastAPI routes serving the standalone HTML5 modules cleanly inside the Gradio iframes
165
  fastapi_app = FastAPI(title="Q-SNASB Gradio Host")
166
 
167
 
 
67
  else f"Layer 2 binary unavailable.\n{BUILD_STATUS}"
68
  )
69
 
 
70
  obstacles = [
71
  ObstaclePolygon(
72
  center_xy=(500.0, 200.0),
 
105
  return l1_out, l2_out, l3_out
106
 
107
 
108
+ with gr.Blocks(title="Q-SNASB & Q-MCT v4.2 Flight Deck") as demo:
 
109
  gr.Markdown(
110
  "## 🛰️ Q-SNASB & Q-MCT v4.2: Quantum Space Navigation & Adaptive Surveillance Bot System\n"
111
  "Switch between the **6-Mode Interactive Flight Deck**, **Quantum Metrology Benchmarks**, "
 
159
  outputs=[l1_box, l2_box, l3_box],
160
  )
161
 
 
162
  fastapi_app = FastAPI(title="Q-SNASB Gradio Host")
163
 
164