tharu22 commited on
Commit
a37e5a2
·
1 Parent(s): b76c7fe

changed con

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -3,10 +3,10 @@ import requests
3
  import pandas as pd
4
 
5
  # Redirect /docs to the main page
6
- if st.query_params.get("page", "") == "docs":
7
- st.error("Page not found. Redirecting to the main dashboard...")
8
- st.query_params["page"] = ""
9
- st.rerun()
10
 
11
  # Set the FastAPI base URL
12
  API_URL = "https://tharu22-world-population.hf.space"
 
3
  import pandas as pd
4
 
5
  # Redirect /docs to the main page
6
+ # if st.query_params.get("page", "") == "docs":
7
+ # st.error("Page not found. Redirecting to the main dashboard...")
8
+ # st.query_params["page"] = ""
9
+ # st.rerun()
10
 
11
  # Set the FastAPI base URL
12
  API_URL = "https://tharu22-world-population.hf.space"