hashirehtisham commited on
Commit
1aaa8c4
·
verified ·
1 Parent(s): 79f89e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -1,6 +1,5 @@
1
  import streamlit as st
2
  from ai71 import AI71
3
- import os
4
 
5
  # Access the API key from Streamlit secrets
6
  ai71_api_key = st.secrets["AI71_API_KEY"]
@@ -11,7 +10,6 @@ client = AI71(ai71_api_key)
11
  # Set page config with title and favicon
12
  st.set_page_config(
13
  page_title="AI Lawyer 🧑‍⚖️",
14
- page_icon="assets/lawyer_icon.png", # Replace with your favicon path
15
  )
16
 
17
  # Add custom CSS for styling
@@ -43,7 +41,6 @@ st.markdown(
43
  )
44
 
45
  # Sidebar
46
- st.sidebar.image("assets/lawyer_icon.png", use_column_width=True) # Replace with your image path
47
  st.sidebar.write("""
48
  **AI Lawyer** is your intelligent assistant for legal advice and information. Powered by advanced AI technology, AI Lawyer helps you understand legal matters by providing detailed insights and potential solutions. Whether you have questions about contracts, disputes, or legal procedures, AI Lawyer is here to assist you.
49
  """)
@@ -62,8 +59,6 @@ st.sidebar.write("""
62
  4. **Review and Take Action**:
63
  - Read the response provided by AI Lawyer and follow the suggested advice. Consult with a legal professional for further assistance if needed.
64
  """)
65
- st.sidebar.markdown("### Social Links:")
66
- st.sidebar.write("🔗 [GitHub](https://www.github.com)")
67
 
68
  # Show title and description.
69
  st.markdown('<h1 class="title">AI Lawyer 🧑‍⚖️</h1>', unsafe_allow_html=True)
 
1
  import streamlit as st
2
  from ai71 import AI71
 
3
 
4
  # Access the API key from Streamlit secrets
5
  ai71_api_key = st.secrets["AI71_API_KEY"]
 
10
  # Set page config with title and favicon
11
  st.set_page_config(
12
  page_title="AI Lawyer 🧑‍⚖️",
 
13
  )
14
 
15
  # Add custom CSS for styling
 
41
  )
42
 
43
  # Sidebar
 
44
  st.sidebar.write("""
45
  **AI Lawyer** is your intelligent assistant for legal advice and information. Powered by advanced AI technology, AI Lawyer helps you understand legal matters by providing detailed insights and potential solutions. Whether you have questions about contracts, disputes, or legal procedures, AI Lawyer is here to assist you.
46
  """)
 
59
  4. **Review and Take Action**:
60
  - Read the response provided by AI Lawyer and follow the suggested advice. Consult with a legal professional for further assistance if needed.
61
  """)
 
 
62
 
63
  # Show title and description.
64
  st.markdown('<h1 class="title">AI Lawyer 🧑‍⚖️</h1>', unsafe_allow_html=True)