trohith89 commited on
Commit
a4df9d0
Β·
verified Β·
1 Parent(s): e67e9a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -178,7 +178,7 @@ col5, col6, col7 = st.columns(3)
178
  # Custom HTML/CSS for iteration and current point display with pink background and black borders
179
  col5.markdown(
180
  f"""
181
- <div style="background-color:#FFB6C1; border: 2px solid black; border-radius: 8px; padding: 10px; text-align: center;">
182
  <span style="color:black; font-weight: bold;">πŸ§‘β€πŸ’» Iteration:</span> <br>
183
  <span style="color:black;">{st.session_state.iteration}</span>
184
  </div>
@@ -188,7 +188,7 @@ col5.markdown(
188
 
189
  col7.markdown(
190
  f"""
191
- <div style="background-color:#FFB6C1; border: 2px solid black; border-radius: 8px; padding: 10px; text-align: center;">
192
  <span style="color:black; font-weight: bold;">πŸ“ Current Point:</span> <br>
193
  <span style="color:black;">({st.session_state.x:.4f}, {st.session_state.y_vals[-1]:.4f})</span>
194
  </div>
 
178
  # Custom HTML/CSS for iteration and current point display with pink background and black borders
179
  col5.markdown(
180
  f"""
181
+ <div style="background-color:#FFB6C1; border: 2px solid black; border-radius: 8px; padding: 4px;">
182
  <span style="color:black; font-weight: bold;">πŸ§‘β€πŸ’» Iteration:</span> <br>
183
  <span style="color:black;">{st.session_state.iteration}</span>
184
  </div>
 
188
 
189
  col7.markdown(
190
  f"""
191
+ <div style="background-color:#FFB6C1; border: 2px solid black; border-radius: 8px; padding: 4px;">
192
  <span style="color:black; font-weight: bold;">πŸ“ Current Point:</span> <br>
193
  <span style="color:black;">({st.session_state.x:.4f}, {st.session_state.y_vals[-1]:.4f})</span>
194
  </div>