arborvitae commited on
Commit
d637584
1 Parent(s): 2bf4887

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -9
app.py CHANGED
@@ -113,22 +113,18 @@ def main():
113
  st.markdown("<h1 style='text-align: center; color: blue;'>JurioSync📄 </h1>", unsafe_allow_html=True)
114
  st.markdown("<h3 style='text-align: center; color: grey;'>Ai Powered Legal Document Assistant</h3>", unsafe_allow_html=True)
115
 
116
- st.markdown("<h2 style='text-align: center; color:red;'>Upload your Legal Document 👇</h2>", unsafe_allow_html=True)
117
 
118
- col1, col2= st.columns([1,2])
119
- with col1:
120
  st.markdown("<h4 style color:black;'>File details</h4>", unsafe_allow_html=True)
121
  # You can display any additional file details here if needed
122
  st.markdown("<h4 style color:black;'>File preview</h4>", unsafe_allow_html=True)
123
  pdf_view = displayPDF(filepath)
124
 
125
- with col2:
126
- with st.spinner('Embeddings are in process...'):
127
- ingested_data = data_ingestion()
128
  st.success('Embeddings are created successfully!')
129
- st.markdown("<h4 style color:black;'>Chat Here</h4>", unsafe_allow_html=True)
130
-
131
- user_input = st.text_input("", key="input")
132
 
133
  # Initialize session state for generated responses and past messages
134
  if "generated" not in st.session_state:
 
113
  st.markdown("<h1 style='text-align: center; color: blue;'>JurioSync📄 </h1>", unsafe_allow_html=True)
114
  st.markdown("<h3 style='text-align: center; color: grey;'>Ai Powered Legal Document Assistant</h3>", unsafe_allow_html=True)
115
 
116
+
117
 
118
+
 
119
  st.markdown("<h4 style color:black;'>File details</h4>", unsafe_allow_html=True)
120
  # You can display any additional file details here if needed
121
  st.markdown("<h4 style color:black;'>File preview</h4>", unsafe_allow_html=True)
122
  pdf_view = displayPDF(filepath)
123
 
124
+
125
+ ingested_data = data_ingestion()
 
126
  st.success('Embeddings are created successfully!')
127
+
 
 
128
 
129
  # Initialize session state for generated responses and past messages
130
  if "generated" not in st.session_state: