LakshmiHarika commited on
Commit
4306ac5
·
verified ·
1 Parent(s): f3e2354

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +8 -5
pages/Data Collection.py CHANGED
@@ -465,17 +465,20 @@ if st.session_state.current_page == "explore_excel":
465
  print(data.head())
466
  """, language="python")
467
 
468
-
469
  col1, col2 = st.columns(2)
470
 
471
  with col1:
472
- if st.button("Open Google Colab File"):
473
- st.write("[Click here to open Colab](https://colab.research.google.com/drive/1qSWM2h-_ND9Nv7GVW9q5onpdcrlFauHc?usp=sharing)")
 
 
 
 
 
474
 
475
  with col2:
476
  if st.button("⬅️ Back to Previous Page"):
477
- st.session_state.current_page = "main" # Redirect to the "main" page
478
-
479
 
480
  elif st.session_state.current_page == "explore_images_video":
481
  st.markdown("""
 
465
  print(data.head())
466
  """, language="python")
467
 
 
468
  col1, col2 = st.columns(2)
469
 
470
  with col1:
471
+ st.markdown("""
472
+ <a href="https://colab.research.google.com/drive/1qSWM2h-_ND9Nv7GVW9q5onpdcrlFauHc?usp=sharing" target="_blank">
473
+ <button style="background-color: #4CAF50; color: white; padding: 10px; font-size: 16px; border: none; cursor: pointer;">
474
+ Open Google Colab File
475
+ </button>
476
+ </a>
477
+ """, unsafe_allow_html=True)
478
 
479
  with col2:
480
  if st.button("⬅️ Back to Previous Page"):
481
+ st.session_state.current_page = "main"
 
482
 
483
  elif st.session_state.current_page == "explore_images_video":
484
  st.markdown("""