shahzaib7788 commited on
Commit
734843e
·
verified ·
1 Parent(s): 3e0bbb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -44,7 +44,8 @@ st.markdown("""
44
 
45
  # 3. Header / Top Banner Section
46
  with st.container():
47
- col_title, col_status = st.columns(spec=)
 
48
  with col_title:
49
  st.title("⚡ Pristine Isolated Deployment")
50
  st.markdown(
@@ -55,14 +56,14 @@ with st.container():
55
  )
56
  with col_status:
57
  st.markdown("<div style='text-align: right; margin-top: 25px;'>", unsafe_allow_html=True)
58
- st.markdown('<span class="status-badge">● System Synchronized</span>', unsafe_allow_html=True)
59
  st.markdown(f"<p style='color: #6c757d; font-size: 0.8rem; margin-top: 5px;'>Checked: {datetime.now().strftime('%H:%M:%S UTC')}</p>", unsafe_allow_html=True)
60
  st.markdown("</div>", unsafe_allow_html=True)
61
 
62
  st.divider()
63
 
64
  # 4. High-Level Telemetry Cards
65
- col_m1, col_m2, col_m3, col_m4 = st.columns(spec=4)
66
  with col_m1:
67
  st.metric(label="Network Proxy Routing", value="Active / Healthy", delta="100% Up")
68
  with col_m2:
@@ -77,7 +78,7 @@ st.markdown("<br>", unsafe_allow_html=True)
77
  # 5. Technical Diagnostic Grid
78
  st.subheader("🛠️ Deep-System Architecture Snapshots")
79
 
80
- col_left, col_right = st.columns(spec=2)
81
 
82
  with col_left:
83
  st.markdown('<div class="metric-card">', unsafe_allow_html=True)
 
44
 
45
  # 3. Header / Top Banner Section
46
  with st.container():
47
+ # Removed "spec=" keyword completely to prevent syntax parser crashes
48
+ col_title, col_status = st.columns()
49
  with col_title:
50
  st.title("⚡ Pristine Isolated Deployment")
51
  st.markdown(
 
56
  )
57
  with col_status:
58
  st.markdown("<div style='text-align: right; margin-top: 25px;'>", unsafe_allow_html=True)
59
+ st.markdown('<span class="status-badge">● System Synchronized</span>', unsafe_unlock_html=True) if hasattr(st, "status") else st.markdown('<span class="status-badge">● System Synchronized</span>', unsafe_allow_html=True)
60
  st.markdown(f"<p style='color: #6c757d; font-size: 0.8rem; margin-top: 5px;'>Checked: {datetime.now().strftime('%H:%M:%S UTC')}</p>", unsafe_allow_html=True)
61
  st.markdown("</div>", unsafe_allow_html=True)
62
 
63
  st.divider()
64
 
65
  # 4. High-Level Telemetry Cards
66
+ col_m1, col_m2, col_m3, col_m4 = st.columns(4)
67
  with col_m1:
68
  st.metric(label="Network Proxy Routing", value="Active / Healthy", delta="100% Up")
69
  with col_m2:
 
78
  # 5. Technical Diagnostic Grid
79
  st.subheader("🛠️ Deep-System Architecture Snapshots")
80
 
81
+ col_left, col_right = st.columns(2)
82
 
83
  with col_left:
84
  st.markdown('<div class="metric-card">', unsafe_allow_html=True)