Update app2.py
Browse files
app2.py
CHANGED
@@ -860,7 +860,7 @@ def contract_analysis_ui():
|
|
860 |
st.subheader("Contract Analyzer")
|
861 |
with st.expander("How to use"):
|
862 |
st.write('''upload the file and click on analyse contract it will generate analysis of that analysis.''')
|
863 |
-
st.warning("Do not upload too big files as it might end up consuming all the tokens and the response
|
864 |
uploaded_file = st.file_uploader(
|
865 |
"Upload a contract document (PDF, DOCX, or TXT)",
|
866 |
type=["pdf", "docx", "txt"],
|
@@ -1925,7 +1925,7 @@ elif feature == "Document Analysis":
|
|
1925 |
st.subheader("Legal Document Analyzer")
|
1926 |
with st.expander("How to use"):
|
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
|
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 |
|
|
|
860 |
st.subheader("Contract Analyzer")
|
861 |
with st.expander("How to use"):
|
862 |
st.write('''upload the file and click on analyse contract it will generate analysis of that analysis.''')
|
863 |
+
st.warning("Do not upload too big files as it might end up consuming all the tokens and the response generation will take too much time")
|
864 |
uploaded_file = st.file_uploader(
|
865 |
"Upload a contract document (PDF, DOCX, or TXT)",
|
866 |
type=["pdf", "docx", "txt"],
|
|
|
1925 |
st.subheader("Legal Document Analyzer")
|
1926 |
with st.expander("How to use"):
|
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 generation 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 |
|