Spaces:
Sleeping
Sleeping
Update pages/Life_cycle_of_ML.py
Browse files- pages/Life_cycle_of_ML.py +11 -3
pages/Life_cycle_of_ML.py
CHANGED
@@ -1,12 +1,19 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
# Center alignment for SVG diagram
|
4 |
-
st.markdown('<div
|
5 |
|
6 |
-
# SVG
|
7 |
st.markdown('''
|
8 |
<svg width="600" height="400">
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
<!-- Problem Definition -->
|
11 |
<a href="#problem-definition">
|
12 |
<rect x="50" y="50" width="150" height="50" fill="#FFB6C1" stroke="#000" />
|
@@ -48,7 +55,7 @@ st.markdown('''
|
|
48 |
</a>
|
49 |
|
50 |
<!-- Arrows -->
|
51 |
-
<line x1="125" y1="
|
52 |
<line x1="340" y1="225" x2="450" y2="225" stroke="#000" marker-end="url(#arrow)" />
|
53 |
|
54 |
</svg>
|
@@ -58,3 +65,4 @@ st.markdown('''
|
|
58 |
st.markdown('</div>', unsafe_allow_html=True)
|
59 |
|
60 |
|
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
# Center alignment for SVG diagram
|
4 |
+
st.markdown('<div style="text-align: center;">', unsafe_allow_html=True)
|
5 |
|
6 |
+
# SVG diagram
|
7 |
st.markdown('''
|
8 |
<svg width="600" height="400">
|
9 |
|
10 |
+
<!-- Arrow marker definition -->
|
11 |
+
<defs>
|
12 |
+
<marker id="arrow" markerWidth="10" markerHeight="10" refX="5" refY="3" orient="auto">
|
13 |
+
<path d="M0,0 L0,6 L9,3 z" fill="#000" />
|
14 |
+
</marker>
|
15 |
+
</defs>
|
16 |
+
|
17 |
<!-- Problem Definition -->
|
18 |
<a href="#problem-definition">
|
19 |
<rect x="50" y="50" width="150" height="50" fill="#FFB6C1" stroke="#000" />
|
|
|
55 |
</a>
|
56 |
|
57 |
<!-- Arrows -->
|
58 |
+
<line x1="125" y1="225" x2="260" y2="225" stroke="#000" marker-end="url(#arrow)" />
|
59 |
<line x1="340" y1="225" x2="450" y2="225" stroke="#000" marker-end="url(#arrow)" />
|
60 |
|
61 |
</svg>
|
|
|
65 |
st.markdown('</div>', unsafe_allow_html=True)
|
66 |
|
67 |
|
68 |
+
|