Nikhithapotnuru commited on
Commit
2c93cdc
·
verified ·
1 Parent(s): 7e76b45

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +6 -6
Home.py CHANGED
@@ -216,9 +216,9 @@ elif st.session_state.page == "Shearing ":
216
  - Horizontal shearing slants the image along the x-axis.
217
  It changes the angles of the object but preserves parallel lines.
218
  ''')
219
- st.image(r"Images/Shearingform.jpg",caption = "Mathmetical Form", width = 500)
220
- st.subheader("Code:")
221
- st.code("""
222
  import cv2
223
  import numpy as np
224
  sx = 1,sy = 1,tx = 0,ty = 0,shx = 1,shy = 0
@@ -229,10 +229,10 @@ elif st.session_state.page == "Shearing ":
229
  cv2.waitKey()
230
  cv2.destroyAllWindows()""",language = "python")
231
 
232
- st.markdown("<hr>", unsafe_allow_html=True)
233
 
234
- if st.button("Back to Home Page"):
235
- navigate_to("Home")
236
 
237
 
238
  # --- Footer ---
 
216
  - Horizontal shearing slants the image along the x-axis.
217
  It changes the angles of the object but preserves parallel lines.
218
  ''')
219
+ st.image(r"Images/Shearingform.jpg",caption = "Mathmetical Form", width = 500)
220
+ st.subheader("Code:")
221
+ st.code("""
222
  import cv2
223
  import numpy as np
224
  sx = 1,sy = 1,tx = 0,ty = 0,shx = 1,shy = 0
 
229
  cv2.waitKey()
230
  cv2.destroyAllWindows()""",language = "python")
231
 
232
+ st.markdown("<hr>", unsafe_allow_html=True)
233
 
234
+ if st.button("Back to Home Page"):
235
+ navigate_to("Home")
236
 
237
 
238
  # --- Footer ---