sree4411 commited on
Commit
5719f45
·
verified ·
1 Parent(s): e39f19d

Update pages/3_Life Cycle Of ML Project.py

Browse files
pages/3_Life Cycle Of ML Project.py CHANGED
@@ -187,7 +187,9 @@ elif st.session_state.page == "unstructured_data":
187
 
188
  # ----------------- Introduction to Image -----------------
189
 
190
- elif st.session_state.page == "Introduction_to_image":
 
 
191
  st.header("🖼️ What is an Image?")
192
  st.markdown("""
193
  ### What is an Image?
@@ -260,16 +262,15 @@ elif st.session_state.page == "Introduction_to_image":
260
  - **LAB (Lightness, A, B)**: Designed to be perceptually uniform, meaning that the perceptual difference between colors is consistent across the space.
261
  - **Use Cases**: Color correction, image processing tasks requiring color consistency.
262
  """)
263
-
264
-
265
-
266
- # Button to Navigate to Operations Using OpenCV
267
- if st.button("Operations Using OpenCV"):
268
  st.session_state.page = "operations_using_opencv"
269
 
270
- # Button to Navigate Back to Data Collection
271
- if st.button("Back to Data Collection"):
272
  st.session_state.page = "data_collection"
 
273
 
274
 
275
  # ---------- OPERATIONS USING OPENCV --------------------------------
 
187
 
188
  # ----------------- Introduction to Image -----------------
189
 
190
+ # Ensure proper indentation for this section of the Streamlit app
191
+
192
+ if st.session_state.page == "Introduction_to_image":
193
  st.header("🖼️ What is an Image?")
194
  st.markdown("""
195
  ### What is an Image?
 
262
  - **LAB (Lightness, A, B)**: Designed to be perceptually uniform, meaning that the perceptual difference between colors is consistent across the space.
263
  - **Use Cases**: Color correction, image processing tasks requiring color consistency.
264
  """)
265
+
266
+ # Button for navigating to the next section
267
+ if st.button("Operations Using OpenCV"):
 
 
268
  st.session_state.page = "operations_using_opencv"
269
 
270
+ # Button for navigating back
271
+ if st.button("Back to Data Collection"):
272
  st.session_state.page = "data_collection"
273
+
274
 
275
 
276
  # ---------- OPERATIONS USING OPENCV --------------------------------