hari3485 commited on
Commit
bb3e46f
·
verified ·
1 Parent(s): 58648a0

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +14 -14
pages/Data Collection.py CHANGED
@@ -1378,14 +1378,14 @@ def main_page():
1378
 
1379
  st.write("Semi-Structured Data includes formats like CSV, JSON, XML, and HTML.")
1380
 
1381
- if st.button("CSV"):
1382
- st.session_state['page'] = "csv"
1383
- if st.button("JSON"):
1384
- st.session_state['page'] = "json"
1385
- if st.button("XML"):
1386
- st.session_state['page'] = "xml"
1387
- if st.button("HTML"):
1388
- st.session_state['page'] = "html"
1389
 
1390
  elif data_type == "Unstructured":
1391
 
@@ -1400,14 +1400,14 @@ def main_page():
1400
  st.write("**💡 Simple Story:** Think of a messy drawer with random papers, photos, and tools. It’s useful, but you need to sort it out to find what you need.")
1401
 
1402
 
1403
- st.write("Unstructured Data includes formats like Images and Videos.")
 
 
 
 
 
1404
 
1405
- if st.button("Image"):
1406
- st.session_state['page'] = "image"
1407
- if st.button("Video"):
1408
- st.session_state['page'] = "video"
1409
 
1410
-
1411
 
1412
  # Initialize session state
1413
  if 'page' not in st.session_state:
 
1378
 
1379
  st.write("Semi-Structured Data includes formats like CSV, JSON, XML, and HTML.")
1380
 
1381
+ if st.button("CSV"):
1382
+ st.session_state['page'] = "csv"
1383
+ if st.button("JSON"):
1384
+ st.session_state['page'] = "json"
1385
+ if st.button("XML"):
1386
+ st.session_state['page'] = "xml"
1387
+ if st.button("HTML"):
1388
+ st.session_state['page'] = "html"
1389
 
1390
  elif data_type == "Unstructured":
1391
 
 
1400
  st.write("**💡 Simple Story:** Think of a messy drawer with random papers, photos, and tools. It’s useful, but you need to sort it out to find what you need.")
1401
 
1402
 
1403
+ st.write("Unstructured Data includes formats like Images and Videos.")
1404
+
1405
+ if st.button("Image"):
1406
+ st.session_state['page'] = "image"
1407
+ if st.button("Video"):
1408
+ st.session_state['page'] = "video"
1409
 
 
 
 
 
1410
 
 
1411
 
1412
  # Initialize session state
1413
  if 'page' not in st.session_state: