LakshmiHarika commited on
Commit
3485d63
·
verified ·
1 Parent(s): cb3ed33

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +19 -13
pages/Data Collection.py CHANGED
@@ -460,20 +460,26 @@ if st.session_state.current_page == "explore_excel":
460
  print(data.head())
461
  """, language="python")
462
 
463
-
464
- st.markdown("""
465
- <a href="https://colab.research.google.com/drive/1qSWM2h-_ND9Nv7GVW9q5onpdcrlFauHc?usp=sharing" target="_blank">
466
- <button style="background-color: #4CAF50; color: white; border: none; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; border-radius: 5px;">
467
- Open Google Colab File
468
- </button>
469
- </a>
470
- """, unsafe_allow_html=True)
471
-
472
-
473
- col1 = st.columns(1)[0] # Access the first (and only) column from the list of columns
474
  with col1:
475
- if st.button("⬅️ Back to Previous Page"):
476
- navigate_to("main")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
477
 
478
 
479
 
 
460
  print(data.head())
461
  """, language="python")
462
 
463
+
464
+ col1, col2 = st.columns(2)
465
+
 
 
 
 
 
 
 
 
466
  with col1:
467
+ st.markdown("""
468
+ <a href="https://colab.research.google.com/drive/1qSWM2h-_ND9Nv7GVW9q5onpdcrlFauHc?usp=sharing" target="_blank">
469
+ <button style="background-color: #808080; color: white; border: none; padding: 10px 20px; text-align: center; text-decoration: none; font-size: 16px; border-radius: 5px; cursor: pointer;">
470
+ Open Google Colab File
471
+ </button>
472
+ </a>
473
+ """, unsafe_allow_html=True)
474
+
475
+ with col2:
476
+ st.markdown("""
477
+ <a href="#" onclick="window.history.back(); return false;">
478
+ <button style="background-color: #007BFF; color: white; border: none; padding: 10px 20px; text-align: center; text-decoration: none; font-size: 16px; border-radius: 5px; cursor: pointer;">
479
+ ⬅️ Back to Previous Page
480
+ </button>
481
+ </a>
482
+ """, unsafe_allow_html=True)
483
 
484
 
485