Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -321,7 +321,7 @@ elif selected == 'Agressive Content':
|
|
321 |
st.write('Upload File')
|
322 |
|
323 |
elif selected == 'Compare Contract':
|
324 |
-
|
325 |
uploaded_file2 = st.file_uploader("Upload a Second Contract for Comparison")
|
326 |
if uploaded_file is not None and uploaded_file2 is not None:
|
327 |
print('File Name : ', uploaded_file.name)
|
@@ -345,7 +345,7 @@ elif selected == 'Compare Contract':
|
|
345 |
st.write('Upload Both Files')
|
346 |
|
347 |
elif selected == 'Find Contract':
|
348 |
-
|
349 |
contract_search = st.text_input("Enter Contract Information to Search")
|
350 |
if contract_search:
|
351 |
conversation = [{"role": "system", "content": """
|
@@ -359,7 +359,7 @@ elif selected == 'Find Contract':
|
|
359 |
st.write('Enter Information to Search')
|
360 |
|
361 |
elif selected == 'Summarizer':
|
362 |
-
|
363 |
if uploaded_file is not None:
|
364 |
print('File Name : ', uploaded_file.name)
|
365 |
ftype = uploaded_file.name.split('.')
|
|
|
321 |
st.write('Upload File')
|
322 |
|
323 |
elif selected == 'Compare Contract':
|
324 |
+
st.title(selected)
|
325 |
uploaded_file2 = st.file_uploader("Upload a Second Contract for Comparison")
|
326 |
if uploaded_file is not None and uploaded_file2 is not None:
|
327 |
print('File Name : ', uploaded_file.name)
|
|
|
345 |
st.write('Upload Both Files')
|
346 |
|
347 |
elif selected == 'Find Contract':
|
348 |
+
st.title(selected)
|
349 |
contract_search = st.text_input("Enter Contract Information to Search")
|
350 |
if contract_search:
|
351 |
conversation = [{"role": "system", "content": """
|
|
|
359 |
st.write('Enter Information to Search')
|
360 |
|
361 |
elif selected == 'Summarizer':
|
362 |
+
st.title(selected)
|
363 |
if uploaded_file is not None:
|
364 |
print('File Name : ', uploaded_file.name)
|
365 |
ftype = uploaded_file.name.split('.')
|