Update pages/Life_cycle_of_ML.py
Browse files- pages/Life_cycle_of_ML.py +10 -4
pages/Life_cycle_of_ML.py
CHANGED
|
@@ -593,6 +593,14 @@ def More():
|
|
| 593 |
if st.button("Image To Table"):
|
| 594 |
st.session_state.page = "Table"
|
| 595 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 596 |
|
| 597 |
def table():
|
| 598 |
# Streamlit page title
|
|
@@ -718,8 +726,7 @@ pd.DataFrame(flattened_image.reshape(1, -1))""",language="python")
|
|
| 718 |
st.write("### Combined DataFrame from All Images")
|
| 719 |
st.dataframe(all_image_data) # Display the combined DataFrame
|
| 720 |
|
| 721 |
-
|
| 722 |
-
st.session_state.page = "Affine"
|
| 723 |
|
| 724 |
|
| 725 |
|
|
@@ -801,8 +808,7 @@ def affine_transformation_demo():
|
|
| 801 |
cropped_image = image[y_start:y_end, x_start:x_end]
|
| 802 |
st.image(cropped_image, caption="Cropped Image", channels="BGR")
|
| 803 |
|
| 804 |
-
|
| 805 |
-
st.session_state.page = "Animation"
|
| 806 |
|
| 807 |
|
| 808 |
|
|
|
|
| 593 |
if st.button("Image To Table"):
|
| 594 |
st.session_state.page = "Table"
|
| 595 |
|
| 596 |
+
if st.button("About Affine Transformation"):
|
| 597 |
+
st.session_state.page = "Affine"
|
| 598 |
+
|
| 599 |
+
if st.button("Lets Know About Animations"):
|
| 600 |
+
st.session_state.page = "Animation"
|
| 601 |
+
|
| 602 |
+
|
| 603 |
+
|
| 604 |
|
| 605 |
def table():
|
| 606 |
# Streamlit page title
|
|
|
|
| 726 |
st.write("### Combined DataFrame from All Images")
|
| 727 |
st.dataframe(all_image_data) # Display the combined DataFrame
|
| 728 |
|
| 729 |
+
|
|
|
|
| 730 |
|
| 731 |
|
| 732 |
|
|
|
|
| 808 |
cropped_image = image[y_start:y_end, x_start:x_end]
|
| 809 |
st.image(cropped_image, caption="Cropped Image", channels="BGR")
|
| 810 |
|
| 811 |
+
|
|
|
|
| 812 |
|
| 813 |
|
| 814 |
|