gvlktejaswi commited on
Commit
7350f0a
Β·
verified Β·
1 Parent(s): 2885c27

Update page_files/Home.py

Browse files
Files changed (1) hide show
  1. page_files/Home.py +3 -5
page_files/Home.py CHANGED
@@ -677,7 +677,7 @@ with right_col:
677
  </style>
678
  """, unsafe_allow_html=True)
679
 
680
- if st.button("Go to Extract Data β†’", key="showcase_extract_btn"):
681
  st.markdown(
682
  '<div class="aim-showcase-card-wrap"><img src="' + extract_card_img + '" style="width:100%;max-height:190px;object-fit:cover;display:block;"/>'
683
  '<div class="aim-card-footer"><div class="aim-card-footer-title">Extract Data</div>'
@@ -687,16 +687,14 @@ with right_col:
687
  )
688
 
689
  # ── Search card ──
690
- if search_card_img:
691
  st.markdown(
692
  '<div class="aim-showcase-card-wrap"><img src="' + search_card_img + '" style="width:100%;max-height:190px;object-fit:cover;display:block;"/>'
693
  '<div class="aim-card-footer"><div class="aim-card-footer-title">Search</div>'
694
  '<div class="aim-card-footer-tag">Data Page</div></div></div>',
695
  unsafe_allow_html=True
696
- )
697
- if st.button("Go to Search β†’", key="showcase_search_btn"):
698
  st.switch_page("page_files/Categorized_Search.py")
699
-
700
  st.markdown("<div style='background:#fff; padding: 12px 0; border-bottom: 1px solid #e8e8e4;'></div>", unsafe_allow_html=True)
701
 
702
 
 
677
  </style>
678
  """, unsafe_allow_html=True)
679
 
680
+ if st.button("Go to Extract Data β†’", key="showcase_extract_btn"):
681
  st.markdown(
682
  '<div class="aim-showcase-card-wrap"><img src="' + extract_card_img + '" style="width:100%;max-height:190px;object-fit:cover;display:block;"/>'
683
  '<div class="aim-card-footer"><div class="aim-card-footer-title">Extract Data</div>'
 
687
  )
688
 
689
  # ── Search card ──
690
+ if st.button("Go to Search β†’", key="showcase_search_btn"):
691
  st.markdown(
692
  '<div class="aim-showcase-card-wrap"><img src="' + search_card_img + '" style="width:100%;max-height:190px;object-fit:cover;display:block;"/>'
693
  '<div class="aim-card-footer"><div class="aim-card-footer-title">Search</div>'
694
  '<div class="aim-card-footer-tag">Data Page</div></div></div>',
695
  unsafe_allow_html=True
 
 
696
  st.switch_page("page_files/Categorized_Search.py")
697
+ )
698
  st.markdown("<div style='background:#fff; padding: 12px 0; border-bottom: 1px solid #e8e8e4;'></div>", unsafe_allow_html=True)
699
 
700