banao-tech commited on
Commit
5eded8a
·
verified ·
1 Parent(s): afb729a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -2
app.py CHANGED
@@ -834,12 +834,25 @@ else:
834
  st.markdown("<br>", unsafe_allow_html=True)
835
  toggle_hinglish = st.toggle("Enable Hinglish", value=True, help="Enable mixing of Hindi and English")
836
  # NEW: Maths & Visualization toggles
 
 
 
 
 
 
 
 
 
 
837
  col3, col4 = st.columns(2)
 
838
  with col3:
839
- enable_maths = st.toggle("Enable Maths Rendering", value=True)
 
840
 
841
  with col4:
842
- enable_visualizations = st.toggle("Enable Visualizations", value=False)
 
843
 
844
 
845
  # Submit button
 
834
  st.markdown("<br>", unsafe_allow_html=True)
835
  toggle_hinglish = st.toggle("Enable Hinglish", value=True, help="Enable mixing of Hindi and English")
836
  # NEW: Maths & Visualization toggles
837
+ st.markdown("""
838
+ <style>
839
+ .toggle-label {
840
+ color: white !important;
841
+ font-weight: 500;
842
+ font-size: 14px;
843
+ }
844
+ </style>
845
+ """, unsafe_allow_html=True)
846
+
847
  col3, col4 = st.columns(2)
848
+
849
  with col3:
850
+ st.markdown('<span class="toggle-label">Enable Maths Rendering</span>', unsafe_allow_html=True)
851
+ enable_maths = st.toggle("", value=True, key="maths_toggle")
852
 
853
  with col4:
854
+ st.markdown('<span class="toggle-label">Enable Visualizations</span>', unsafe_allow_html=True)
855
+ enable_visualizations = st.toggle("", value=False, key="viz_toggle")
856
 
857
 
858
  # Submit button