Update app.py
Browse files
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:
|
| 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:
|
| 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>
|