Spaces:
Sleeping
Sleeping
Update Home.py
Browse files
Home.py
CHANGED
|
@@ -100,8 +100,8 @@ elif st.session_state.page == "Translation":
|
|
| 100 |
# Rotating
|
| 101 |
elif st.session_state.page == "Rotating":
|
| 102 |
st.title("2. 🔄 Rotation")
|
| 103 |
-
|
| 104 |
-
|
| 105 |
st.write('''
|
| 106 |
Definition:
|
| 107 |
Rotation turns the image around a fixed center point (usually the center of the image) by a certain angle.
|
|
@@ -126,6 +126,8 @@ elif st.session_state.page == "Rotating":
|
|
| 126 |
if st.button("Back to Home Page"):
|
| 127 |
navigate_to("Home")
|
| 128 |
|
|
|
|
|
|
|
| 129 |
|
| 130 |
|
| 131 |
# Add a button to navigate to the Scaling page
|
|
@@ -133,7 +135,7 @@ elif st.session_state.page == "Rotating":
|
|
| 133 |
if st.button("Learn More About Scaling"):
|
| 134 |
navigate_to("Scaling")
|
| 135 |
|
| 136 |
-
|
| 137 |
elif st.session_state.page == "Scaling":
|
| 138 |
st.title("3.🔍 Scaling")
|
| 139 |
|
|
@@ -168,7 +170,7 @@ elif st.session_state.page == "Rotating":
|
|
| 168 |
if st.button("Learn More About Cropping"):
|
| 169 |
navigate_to("Cropping")
|
| 170 |
|
| 171 |
-
|
| 172 |
elif st.session_state.page == "Cropping":
|
| 173 |
st.title("4.✂️ Cropping")
|
| 174 |
|
|
@@ -207,7 +209,7 @@ elif st.session_state.page == "Rotating":
|
|
| 207 |
elif st.session_state.page == "Shearing ":
|
| 208 |
st.title("5. 📐Shearing (or stretching)")
|
| 209 |
|
| 210 |
-
|
| 211 |
st.write('''
|
| 212 |
Definition:
|
| 213 |
Shearing transforms an image such that:
|
|
|
|
| 100 |
# Rotating
|
| 101 |
elif st.session_state.page == "Rotating":
|
| 102 |
st.title("2. 🔄 Rotation")
|
| 103 |
+
|
| 104 |
+
# Content for Rotating
|
| 105 |
st.write('''
|
| 106 |
Definition:
|
| 107 |
Rotation turns the image around a fixed center point (usually the center of the image) by a certain angle.
|
|
|
|
| 126 |
if st.button("Back to Home Page"):
|
| 127 |
navigate_to("Home")
|
| 128 |
|
| 129 |
+
|
| 130 |
+
|
| 131 |
|
| 132 |
|
| 133 |
# Add a button to navigate to the Scaling page
|
|
|
|
| 135 |
if st.button("Learn More About Scaling"):
|
| 136 |
navigate_to("Scaling")
|
| 137 |
|
| 138 |
+
# Scaling
|
| 139 |
elif st.session_state.page == "Scaling":
|
| 140 |
st.title("3.🔍 Scaling")
|
| 141 |
|
|
|
|
| 170 |
if st.button("Learn More About Cropping"):
|
| 171 |
navigate_to("Cropping")
|
| 172 |
|
| 173 |
+
# Cropping
|
| 174 |
elif st.session_state.page == "Cropping":
|
| 175 |
st.title("4.✂️ Cropping")
|
| 176 |
|
|
|
|
| 209 |
elif st.session_state.page == "Shearing ":
|
| 210 |
st.title("5. 📐Shearing (or stretching)")
|
| 211 |
|
| 212 |
+
# Content for Shearing
|
| 213 |
st.write('''
|
| 214 |
Definition:
|
| 215 |
Shearing transforms an image such that:
|