Johan713 commited on
Commit
f14357e
·
verified ·
1 Parent(s): 23d9037

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +1 -1
app2.py CHANGED
@@ -1927,7 +1927,7 @@ elif feature == "Document Analysis":
1927
  st.write('''upload the file and it will generate analysis of that document.''')
1928
  st.warning("Do not upload too big files as it might end up consuming all the tokens and the response generattion will take too much time")
1929
  if 'precedents' not in st.session_state:
1930
- uploaded_file = st.file_uploader("Upload a legal document (PDF, DOCX, or TXT)", type=["pdf", "docx", "txt"])
1931
 
1932
  if uploaded_file and st.button("Analyze Document"):
1933
  with st.spinner("Analyzing document and gathering additional information..."):
 
1927
  st.write('''upload the file and it will generate analysis of that document.''')
1928
  st.warning("Do not upload too big files as it might end up consuming all the tokens and the response generattion will take too much time")
1929
  if 'precedents' not in st.session_state:
1930
+ uploaded_file = st.file_uploader("Upload a legal document (PDF, DOCX, or TXT)", type=["pdf", "docx", "txt"])
1931
 
1932
  if uploaded_file and st.button("Analyze Document"):
1933
  with st.spinner("Analyzing document and gathering additional information..."):