LakshmiHarika commited on
Commit
ddfcdda
·
verified ·
1 Parent(s): 5fb8368

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +48 -31
pages/Data Collection.py CHANGED
@@ -185,12 +185,19 @@ if st.session_state.current_page == "main":
185
  """, unsafe_allow_html=True)
186
 
187
  st.write("Click to explore Unstructured Data Formats:")
188
- if st.button("Explore Images & Videos"):
189
- navigate_to("explore_images_video")
190
- if st.button("Explore Audio"):
191
- navigate_to("explore_audio")
192
- if st.button("Explore Text"):
193
- navigate_to("explore_text")
 
 
 
 
 
 
 
194
 
195
  elif data_type == "Semi-Structured Data":
196
  st.markdown("""
@@ -241,14 +248,23 @@ if st.session_state.current_page == "main":
241
  """, unsafe_allow_html=True)
242
 
243
  st.write("Click to explore Semi-Structured Data Formats:")
244
- if st.button("Explore CSV"):
245
- navigate_to("explore_csv")
246
- if st.button("Explore JSON"):
247
- navigate_to("explore_json")
248
- if st.button("Explore XML"):
249
- navigate_to("explore_xml")
250
- if st.button("Explore HTML"):
251
- navigate_to("explore_html")
 
 
 
 
 
 
 
 
 
252
 
253
  # Pages for Each Format
254
  elif st.session_state.current_page == "explore_excel":
@@ -481,16 +497,20 @@ elif st.session_state.current_page == "explore_images_video":
481
  - Understand the **core operations** used in computer vision.
482
  - Transform images to uncover hidden insights.
483
 
484
- Curious to see how?👇Click here to start your journey into OpenCV Basics!🚀
485
  """)
486
 
487
- if st.button("Image Operations with OpenCV"):
488
- navigate_to("opencv_operations")
489
-
490
- # Go Back Button
491
- if st.button("Back to previous page"):
492
- navigate_to("main")
 
 
 
493
 
 
494
  elif st.session_state.current_page == "opencv_operations":
495
  # Introduction to OpenCV Page
496
  st.markdown("""
@@ -655,25 +675,22 @@ elif st.session_state.current_page == "opencv_operations":
655
  - **Splitting images** into individual channels.
656
  - **Converting images** between various color spaces.
657
 
658
- Curious to learn more?👇Click below to continue your journey with OpenCV! 🚀
659
  """)
660
 
661
- # Navigation Buttons
662
- st.write("### Navigate to Other Sections")
663
  col1, col2, col3 = st.columns(3)
664
 
665
  with col1:
666
- if st.button("⬅️ Previous Page"):
667
- navigate_to("previous_page")
668
 
669
  with col2:
670
- if st.button("🏠 Main Page"):
671
- navigate_to("main")
672
 
673
  with col3:
674
- if st.button("➡️ Next Page"):
675
- navigate_to("image_operations")
676
-
677
 
678
 
679
 
 
185
  """, unsafe_allow_html=True)
186
 
187
  st.write("Click to explore Unstructured Data Formats:")
188
+ col1, col2, col3 = st.columns(3)
189
+
190
+ with col1:
191
+ if st.button("📸 Images & Videos"):
192
+ navigate_to("explore_images_video")
193
+
194
+ with col2:
195
+ if st.button("🎵 Audio"):
196
+ navigate_to("explore_audio")
197
+
198
+ with col3:
199
+ if st.button("✍️ Text"):
200
+ navigate_to("explore_text")
201
 
202
  elif data_type == "Semi-Structured Data":
203
  st.markdown("""
 
248
  """, unsafe_allow_html=True)
249
 
250
  st.write("Click to explore Semi-Structured Data Formats:")
251
+ col1, col2, col3, col4 = st.columns(4)
252
+
253
+ with col1:
254
+ if st.button("📄 CSV"):
255
+ navigate_to("explore_csv")
256
+
257
+ with col2:
258
+ if st.button("📋 JSON"):
259
+ navigate_to("explore_json")
260
+
261
+ with col3:
262
+ if st.button("📜 XML"):
263
+ navigate_to("explore_xml")
264
+
265
+ with col4:
266
+ if st.button("🌐 HTML"):
267
+ navigate_to("explore_html")
268
 
269
  # Pages for Each Format
270
  elif st.session_state.current_page == "explore_excel":
 
497
  - Understand the **core operations** used in computer vision.
498
  - Transform images to uncover hidden insights.
499
 
500
+ Curious to see how?👇Click `Image Operations with OpenCV` to start your journey into OpenCV Basics!🚀
501
  """)
502
 
503
+ col1, col2 = st.columns(2)
504
+
505
+ with col1:
506
+ if st.button("⬅️ Back to Previous Page"):
507
+ navigate_to("main")
508
+
509
+ with col2:
510
+ if st.button("➡️ Image Operations with OpenCV"):
511
+ navigate_to("opencv_operations")
512
 
513
+
514
  elif st.session_state.current_page == "opencv_operations":
515
  # Introduction to OpenCV Page
516
  st.markdown("""
 
675
  - **Splitting images** into individual channels.
676
  - **Converting images** between various color spaces.
677
 
678
+ Curious to learn more?👇Click `Explore Image Creation and Manipulation` to continue your journey with OpenCV! 🚀
679
  """)
680
 
 
 
681
  col1, col2, col3 = st.columns(3)
682
 
683
  with col1:
684
+ if st.button("📸 Images & Videos"):
685
+ navigate_to("explore_images_video") # Main page: Images & Videos
686
 
687
  with col2:
688
+ if st.button("⬅️ Image Operations with OpenCV"):
689
+ navigate_to("opencv_operations") # Previous page: Image Operations with OpenCV
690
 
691
  with col3:
692
+ if st.button("➡️ Explore Image Creation and Manipulation"):
693
+ navigate_to("image_operations")
 
694
 
695
 
696