pwc-india commited on
Commit
5188bdb
1 Parent(s): 173bd24

Update pages/5SOURCE TO TARGET MAPPING.py

Browse files
Files changed (1) hide show
  1. pages/5SOURCE TO TARGET MAPPING.py +54 -26
pages/5SOURCE TO TARGET MAPPING.py CHANGED
@@ -26,6 +26,34 @@ model = genai.GenerativeModel(
26
  model_name='models/gemini-1.5-flash'
27
  )
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  ######
30
  def main():
31
  # st.title('PAGE TITLE') # Change this for each page
@@ -624,34 +652,34 @@ def main():
624
 
625
 
626
 
627
- st.set_page_config(page_title='AUTOMATED SOURCE TO TARGET MAPPING', layout= 'wide')
628
- st.markdown("""
629
- <style>
630
-
631
- /* Remove blank space at top and bottom */
632
- .block-container {
633
- padding-top: 1.9rem;
634
- padding-bottom: 1rem;
635
- }
636
 
637
- /* Remove blank space at the center canvas */
638
- .st-emotion-cache-z5fcl4 {
639
- position: relative;
640
- top: -62px;
641
- }
642
 
643
- /* Make the toolbar transparent and the content below it clickable */
644
- .st-emotion-cache-18ni7ap {
645
- pointer-events: none;
646
- background: rgb(255 255 255 / 0%)
647
- }
648
- .st-emotion-cache-zq5wmm {
649
- pointer-events: auto;
650
- background: rgb(255 255 255);
651
- border-radius: 5px;
652
- }
653
- </style>
654
- """, unsafe_allow_html=True)
655
  st.subheader('AUTOMATED SOURCE TO TARGET MAPPING')
656
  mode= st.selectbox('Select Mode of Mapping',('Supervised Mapping(You Have Sufficient Sample Data in Target Template)', 'Unsupervised Mapping(You Do Not Have Sufficient Sample Data in Target Template)'), index=None,placeholder='Select category of table')
657
  if mode == 'Supervised Mapping(You Have Sufficient Sample Data in Target Template)':
 
26
  model_name='models/gemini-1.5-flash'
27
  )
28
 
29
+ st.set_page_config(page_title='AUTOMATED SOURCE TO TARGET MAPPING', layout= 'wide')
30
+ st.markdown("""
31
+ <style>
32
+
33
+ /* Remove blank space at top and bottom */
34
+ .block-container {
35
+ padding-top: 1.9rem;
36
+ padding-bottom: 1rem;
37
+ }
38
+
39
+ /* Remove blank space at the center canvas */
40
+ .st-emotion-cache-z5fcl4 {
41
+ position: relative;
42
+ top: -62px;
43
+ }
44
+
45
+ /* Make the toolbar transparent and the content below it clickable */
46
+ .st-emotion-cache-18ni7ap {
47
+ pointer-events: none;
48
+ background: rgb(255 255 255 / 0%)
49
+ }
50
+ .st-emotion-cache-zq5wmm {
51
+ pointer-events: auto;
52
+ background: rgb(255 255 255);
53
+ border-radius: 5px;
54
+ }
55
+ </style>
56
+ """, unsafe_allow_html=True)
57
  ######
58
  def main():
59
  # st.title('PAGE TITLE') # Change this for each page
 
652
 
653
 
654
 
655
+ # st.set_page_config(page_title='AUTOMATED SOURCE TO TARGET MAPPING', layout= 'wide')
656
+ # st.markdown("""
657
+ # <style>
658
+
659
+ # /* Remove blank space at top and bottom */
660
+ # .block-container {
661
+ # padding-top: 1.9rem;
662
+ # padding-bottom: 1rem;
663
+ # }
664
 
665
+ # /* Remove blank space at the center canvas */
666
+ # .st-emotion-cache-z5fcl4 {
667
+ # position: relative;
668
+ # top: -62px;
669
+ # }
670
 
671
+ # /* Make the toolbar transparent and the content below it clickable */
672
+ # .st-emotion-cache-18ni7ap {
673
+ # pointer-events: none;
674
+ # background: rgb(255 255 255 / 0%)
675
+ # }
676
+ # .st-emotion-cache-zq5wmm {
677
+ # pointer-events: auto;
678
+ # background: rgb(255 255 255);
679
+ # border-radius: 5px;
680
+ # }
681
+ # </style>
682
+ # """, unsafe_allow_html=True)
683
  st.subheader('AUTOMATED SOURCE TO TARGET MAPPING')
684
  mode= st.selectbox('Select Mode of Mapping',('Supervised Mapping(You Have Sufficient Sample Data in Target Template)', 'Unsupervised Mapping(You Do Not Have Sufficient Sample Data in Target Template)'), index=None,placeholder='Select category of table')
685
  if mode == 'Supervised Mapping(You Have Sufficient Sample Data in Target Template)':