Nikhithapotnuru commited on
Commit
a000c45
·
verified ·
1 Parent(s): e8f7c04

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +4 -4
Home.py CHANGED
@@ -75,7 +75,7 @@ elif st.session_state.page == "Translation":
75
  Moving an image 10 pixels to the right and 5 pixels down.
76
  ''')
77
  st.subheader("Code:")
78
- st.code("""
79
  import cv2
80
  import numpy as np
81
  tx = -50,ty = -50
@@ -86,10 +86,10 @@ elif st.session_state.page == "Translation":
86
  cv2.waitKey()
87
  cv2.destroyAllWindows()""",language = "python")
88
 
89
- st.markdown("<hr>", unsafe_allow_html=True)
90
 
91
- if st.button("Back to Home Page"):
92
- navigate_to("Home")
93
 
94
  #Define descriptions on the affine transformation types
95
  descriptions = {
 
75
  Moving an image 10 pixels to the right and 5 pixels down.
76
  ''')
77
  st.subheader("Code:")
78
+ st.code("""
79
  import cv2
80
  import numpy as np
81
  tx = -50,ty = -50
 
86
  cv2.waitKey()
87
  cv2.destroyAllWindows()""",language = "python")
88
 
89
+ st.markdown("<hr>", unsafe_allow_html=True)
90
 
91
+ if st.button("Back to Home Page"):
92
+ navigate_to("Home")
93
 
94
  #Define descriptions on the affine transformation types
95
  descriptions = {