sohampawar1030 commited on
Commit
354c262
·
verified ·
1 Parent(s): ac07e52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -6,7 +6,7 @@ st.set_page_config(page_title="GDPR Recitals Live Updates", layout="wide")
6
  import requests
7
  from bs4 import BeautifulSoup
8
  import legal_document_analysis
9
- import up # Import the new up.py module
10
 
11
  # Function to fetch live recitals from the GDPR website
12
  def fetch_gdpr_recitals():
@@ -46,12 +46,12 @@ def fetch_gdpr_recitals():
46
  # Streamlit App Navigation
47
  def main():
48
  st.sidebar.title("Navigation")
49
- page = st.sidebar.radio("Choose a page", ["Legal Document Analysis", "up"])
50
 
51
  if page == "Legal Document Analysis":
52
  legal_document_analysis.display_legal_analysis_page() # Display the legal analysis page
53
- elif page == "up":
54
- up.display_up_page() # Display the UP page
55
 
56
  if __name__ == "__main__":
57
  main()
 
6
  import requests
7
  from bs4 import BeautifulSoup
8
  import legal_document_analysis
9
+ import Update_tracker # Import the new up.py module
10
 
11
  # Function to fetch live recitals from the GDPR website
12
  def fetch_gdpr_recitals():
 
46
  # Streamlit App Navigation
47
  def main():
48
  st.sidebar.title("Navigation")
49
+ page = st.sidebar.radio("Choose a page", ["Legal Document Analysis", "Update_tracker"])
50
 
51
  if page == "Legal Document Analysis":
52
  legal_document_analysis.display_legal_analysis_page() # Display the legal analysis page
53
+ elif page == "Update_tracker":
54
+ Update_tracker.display_Update_tracker_page() # Display the UP page
55
 
56
  if __name__ == "__main__":
57
  main()