Spaces:
Sleeping
Sleeping
Update Home.py
Browse files
Home.py
CHANGED
|
@@ -51,16 +51,16 @@ if st.session_state.page == "Home":
|
|
| 51 |
'6.Stretching(shearing)': "**Stretching** : Vertical shearing slants the image along the y-axis,Horizontal shearing slants the image along the x-axis."
|
| 52 |
}
|
| 53 |
|
| 54 |
-
#Navigation menu
|
| 55 |
-
step = st.selectbox("Select the type of affine transformation :",list(descriptions.keys()))
|
| 56 |
-
|
| 57 |
-
# Display description
|
| 58 |
-
st.write(descriptions[step])
|
| 59 |
-
|
| 60 |
-
# Add a button to navigate to the Data Collection page
|
| 61 |
-
if step == '1.Translation(Shifting)':
|
| 62 |
-
|
| 63 |
-
|
| 64 |
|
| 65 |
# TranslationPage
|
| 66 |
elif st.session_state.page == "Translation":
|
|
|
|
| 51 |
'6.Stretching(shearing)': "**Stretching** : Vertical shearing slants the image along the y-axis,Horizontal shearing slants the image along the x-axis."
|
| 52 |
}
|
| 53 |
|
| 54 |
+
#Navigation menu
|
| 55 |
+
step = st.selectbox("Select the type of affine transformation :",list(descriptions.keys()))
|
| 56 |
+
|
| 57 |
+
# Display description
|
| 58 |
+
st.write(descriptions[step])
|
| 59 |
+
|
| 60 |
+
# Add a button to navigate to the Data Collection page
|
| 61 |
+
if step == '1.Translation(Shifting)':
|
| 62 |
+
if st.button("Learn More About Translation"):
|
| 63 |
+
navigate_to("Translation")
|
| 64 |
|
| 65 |
# TranslationPage
|
| 66 |
elif st.session_state.page == "Translation":
|