Spaces:
Sleeping
Sleeping
Update pages/Life_cycle_of_ML.py
Browse files
pages/Life_cycle_of_ML.py
CHANGED
@@ -1,10 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
#
|
4 |
-
|
5 |
-
|
6 |
-
# SVG with shapes and clickable buttons (links)
|
7 |
-
st.markdown('''
|
8 |
<svg width="600" height="400">
|
9 |
|
10 |
<!-- Problem Definition -->
|
@@ -52,7 +49,8 @@ st.markdown('''
|
|
52 |
<line x1="340" y1="225" x2="450" y2="225" stroke="#000" marker-end="url(#arrow)" />
|
53 |
|
54 |
</svg>
|
55 |
-
|
|
|
|
|
|
|
56 |
|
57 |
-
# Close the div for centering the SVG
|
58 |
-
st.markdown('</div>', unsafe_allow_html=True)
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
# SVG diagram with clickable shapes as buttons
|
4 |
+
svg_code = """
|
|
|
|
|
|
|
5 |
<svg width="600" height="400">
|
6 |
|
7 |
<!-- Problem Definition -->
|
|
|
49 |
<line x1="340" y1="225" x2="450" y2="225" stroke="#000" marker-end="url(#arrow)" />
|
50 |
|
51 |
</svg>
|
52 |
+
"""
|
53 |
+
|
54 |
+
# Using Streamlit to render the SVG as a raw HTML string
|
55 |
+
st.markdown(f'<div align="center">{svg_code}</div>', unsafe_allow_html=True)
|
56 |
|
|
|
|