Removed Data Dict

This commit is contained in:
AARETE\agupta
2024-09-09 02:57:16 -05:00
committed by Michael McGuinness
parent 477e2b5bd7
commit bfc568f7d1
@@ -1,42 +0,0 @@
import streamlit as st
from streamlit_extras.add_vertical_space import add_vertical_space
import pandas as pd
import constants
st.set_page_config(layout = "wide")
# Sidebar contents
with st.sidebar:
st.title("Doczy.AI ™")
st.markdown(
"""
## About
This app extracts data from contracts
"""
)
# AARETE LOGO
x,y,z = st.columns([15,2,15])
with y:
st.image('aaretelogo.png')
hide_img_fs = '''
<style>
button[title="View fullscreen"]{
visibility: hidden;}
</style>
'''
st.markdown(hide_img_fs, unsafe_allow_html=True)
_,c1= st.columns([5,1])
st.session_state['user_info'] = {'mail': constants.current_user['mail'], 'displayName': constants.current_user['name']}
try:
c1.write(f"User: **{st.session_state.user_info['displayName']}**")
user_mail = st.session_state.user_info['mail']
except KeyError as e:
st.write("Session Expired.")
st.stop()
data_dict = pd.read_csv('contract_fields.csv')
st.data_editor(data_dict, height=700)