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

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +14 -14
pages/Data Collection.py CHANGED
@@ -1362,8 +1362,8 @@ def main_page():
1362
  """)
1363
  st.write("**💡 Simple Story:** Think of a grocery store where every item has its price, category, and stock neatly listed on a computer.")
1364
 
1365
- if st.button("Excel"):
1366
- st.session_state['page'] = "excel"
1367
 
1368
  elif data_type == "Semi-Structured":
1369
  # Semi-Structured Data
@@ -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
 
@@ -1402,10 +1402,10 @@ def main_page():
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
 
 
1362
  """)
1363
  st.write("**💡 Simple Story:** Think of a grocery store where every item has its price, category, and stock neatly listed on a computer.")
1364
 
1365
+ if st.button("Excel"):
1366
+ st.session_state['page'] = "excel"
1367
 
1368
  elif data_type == "Semi-Structured":
1369
  # Semi-Structured Data
 
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
 
 
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