Spaces:
Sleeping
Sleeping
pranavnair2
commited on
Commit
•
9668379
1
Parent(s):
198de77
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,15 @@ def main():
|
|
55 |
|
56 |
st.set_page_config(page_title="Legal Assistant", page_icon=":books:")
|
57 |
st.write(css, unsafe_allow_html=True)
|
58 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
|
60 |
if "conversation" not in st.session_state:
|
61 |
st.session_state.conversation = None
|
|
|
55 |
|
56 |
st.set_page_config(page_title="Legal Assistant", page_icon=":books:")
|
57 |
st.write(css, unsafe_allow_html=True)
|
58 |
+
st.title("AI Lawyer Bot :robot:")
|
59 |
+
st.header("\"_Is that legal?_\"")
|
60 |
+
st.subheader("This bot is made to answer all you legal queries in the context of the Indian Penal Code")
|
61 |
+
with st.expander("==Disclamer=="):
|
62 |
+
st.write("1. **This is not legal advice.")
|
63 |
+
st.write("2. While the model has the context of the IPC it has not been fine-tuned and hence may not be able to answer all your queries. ")
|
64 |
+
st.divider()
|
65 |
+
st.caption("Try something like \"What is the punishment for criminal intimidation?\" or \"How is theft defined in the IPC?\"")
|
66 |
+
|
67 |
|
68 |
if "conversation" not in st.session_state:
|
69 |
st.session_state.conversation = None
|