RumleyRum commited on
Commit
fb11cef
·
verified ·
1 Parent(s): b830bf6

Update demo_gui_dev.py

Browse files
Files changed (1) hide show
  1. demo_gui_dev.py +37 -1
demo_gui_dev.py CHANGED
@@ -156,6 +156,42 @@ st.markdown("""
156
  font-size: 14px;
157
  }
158
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
  /* Slider Styling */
160
  .stSlider [data-baseweb="slider"] {
161
  background-color: transparent;
@@ -296,7 +332,7 @@ st.sidebar.caption("""
296
 
297
 
298
  st.success("✨ **Live Demo** - Testing deterministic AI governance on real LLMs")
299
- st.info("💼 **Enterprise Deployment?** Contact [ryan@verhash.net](mailto:ryan@verhash.net) for production licensing")
300
 
301
  # Create tabs
302
  tab1, tab2, tab3, tab4 = st.tabs(["Mechanism Demo", "LLM Guardrail", "Live LLM Testing", "Explain & Tune"])
 
156
  font-size: 14px;
157
  }
158
 
159
+ /* Tab Styling */
160
+ .stTabs [data-baseweb="tab-list"] {
161
+ gap: 8px;
162
+ background-color: transparent;
163
+ }
164
+
165
+ .stTabs [data-baseweb="tab"] {
166
+ height: 40px;
167
+ white-space: pre-wrap;
168
+ background-color: #0f172a; /* Offset Color: Slate 900 */
169
+ border-radius: 4px 4px 0 0;
170
+ gap: 1px;
171
+ padding-top: 10px;
172
+ padding-bottom: 10px;
173
+ color: #94a3b8; /* Slate 400 */
174
+ border: 1px solid #1e293b;
175
+ border-bottom: none;
176
+ transition: all 0.2s ease;
177
+ }
178
+
179
+ .stTabs [data-baseweb="tab"]:hover {
180
+ color: #f1f5f9;
181
+ background-color: #1e293b;
182
+ }
183
+
184
+ .stTabs [data-baseweb="tab"][aria-selected="true"] {
185
+ background-color: #0ea5e9 !important; /* Select Color: Sky 500 */
186
+ color: #ffffff !important;
187
+ border: 1px solid #0ea5e9;
188
+ }
189
+
190
+ /* Hide default highlight bar */
191
+ [data-baseweb="tab-highlight"] {
192
+ background-color: transparent !important;
193
+ }
194
+
195
  /* Slider Styling */
196
  .stSlider [data-baseweb="slider"] {
197
  background-color: transparent;
 
332
 
333
 
334
  st.success("✨ **Live Demo** - Testing deterministic AI governance on real LLMs")
335
+ st.markdown("---")
336
 
337
  # Create tabs
338
  tab1, tab2, tab3, tab4 = st.tabs(["Mechanism Demo", "LLM Guardrail", "Live LLM Testing", "Explain & Tune"])