Update pages/DATA CATALOG.py
Browse files- pages/DATA CATALOG.py +36 -36
pages/DATA CATALOG.py
CHANGED
@@ -25,45 +25,45 @@ import pymssql
|
|
25 |
############
|
26 |
from streamlit_app import sidebar
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
def main():
|
29 |
# st.title('PAGE TITLE') # Change this for each page
|
30 |
sidebar()
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
genai.configure(api_key='AIzaSyCeY8jSHKW6t0OSDRjc2VAfBvMunVrff2w')
|
36 |
-
genai_mod = genai.GenerativeModel(
|
37 |
-
model_name='models/gemini-pro'
|
38 |
-
)
|
39 |
-
|
40 |
-
st.set_page_config(page_title='DATA DISCOVERY', layout= 'wide')
|
41 |
-
st.markdown("""
|
42 |
-
<style>
|
43 |
-
|
44 |
-
/* Remove blank space at top and bottom */
|
45 |
-
.block-container {
|
46 |
-
padding-top: 2rem;
|
47 |
-
}
|
48 |
-
|
49 |
-
/* Remove blank space at the center canvas */
|
50 |
-
.st-emotion-cache-z5fcl4 {
|
51 |
-
position: relative;
|
52 |
-
top: -62px;
|
53 |
-
}
|
54 |
-
|
55 |
-
/* Make the toolbar transparent and the content below it clickable */
|
56 |
-
.st-emotion-cache-18ni7ap {
|
57 |
-
pointer-events: none;
|
58 |
-
background: rgb(255 255 255 / 0%)
|
59 |
-
}
|
60 |
-
.st-emotion-cache-zq5wmm {
|
61 |
-
pointer-events: auto;
|
62 |
-
background: rgb(255 255 255);
|
63 |
-
border-radius: 5px;
|
64 |
-
}
|
65 |
-
</style>
|
66 |
-
""", unsafe_allow_html=True)
|
67 |
def clear_cache():
|
68 |
if 'rdf' in st.session_state:
|
69 |
st.session_state.pop('rdf')
|
|
|
25 |
############
|
26 |
from streamlit_app import sidebar
|
27 |
|
28 |
+
|
29 |
+
|
30 |
+
genai.configure(api_key='AIzaSyCeY8jSHKW6t0OSDRjc2VAfBvMunVrff2w')
|
31 |
+
genai_mod = genai.GenerativeModel(
|
32 |
+
model_name='models/gemini-pro'
|
33 |
+
)
|
34 |
+
|
35 |
+
st.set_page_config(page_title='DATA DISCOVERY', layout= 'wide')
|
36 |
+
st.markdown("""
|
37 |
+
<style>
|
38 |
+
|
39 |
+
/* Remove blank space at top and bottom */
|
40 |
+
.block-container {
|
41 |
+
padding-top: 2rem;
|
42 |
+
}
|
43 |
+
|
44 |
+
/* Remove blank space at the center canvas */
|
45 |
+
.st-emotion-cache-z5fcl4 {
|
46 |
+
position: relative;
|
47 |
+
top: -62px;
|
48 |
+
}
|
49 |
+
|
50 |
+
/* Make the toolbar transparent and the content below it clickable */
|
51 |
+
.st-emotion-cache-18ni7ap {
|
52 |
+
pointer-events: none;
|
53 |
+
background: rgb(255 255 255 / 0%)
|
54 |
+
}
|
55 |
+
.st-emotion-cache-zq5wmm {
|
56 |
+
pointer-events: auto;
|
57 |
+
background: rgb(255 255 255);
|
58 |
+
border-radius: 5px;
|
59 |
+
}
|
60 |
+
</style>
|
61 |
+
""", unsafe_allow_html=True)
|
62 |
+
######
|
63 |
def main():
|
64 |
# st.title('PAGE TITLE') # Change this for each page
|
65 |
sidebar()
|
66 |
+
########
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
def clear_cache():
|
68 |
if 'rdf' in st.session_state:
|
69 |
st.session_state.pop('rdf')
|