third commit
Browse files
app.py
CHANGED
|
@@ -2,6 +2,8 @@ import streamlit as st
|
|
| 2 |
import requests
|
| 3 |
import pandas as pd
|
| 4 |
|
|
|
|
|
|
|
| 5 |
|
| 6 |
# Redirect /docs to the main page
|
| 7 |
if st.experimental_get_query_params().get("page", [""])[0] == "docs":
|
|
@@ -14,8 +16,7 @@ API_URL = "https://kabila22-backend.hf.space"
|
|
| 14 |
|
| 15 |
# Streamlit app title
|
| 16 |
st.title("⭐World Population Dashboard")
|
| 17 |
-
|
| 18 |
-
st.set_option('browser.gatherUsageStats', False)
|
| 19 |
|
| 20 |
# Sidebar filter for continents
|
| 21 |
st.sidebar.header("Filter")
|
|
|
|
| 2 |
import requests
|
| 3 |
import pandas as pd
|
| 4 |
|
| 5 |
+
st.set_page_config(page_title="World Population Dashboard", page_icon="⭐", layout="wide")
|
| 6 |
+
st.set_option('browser.gatherUsageStats', False)
|
| 7 |
|
| 8 |
# Redirect /docs to the main page
|
| 9 |
if st.experimental_get_query_params().get("page", [""])[0] == "docs":
|
|
|
|
| 16 |
|
| 17 |
# Streamlit app title
|
| 18 |
st.title("⭐World Population Dashboard")
|
| 19 |
+
|
|
|
|
| 20 |
|
| 21 |
# Sidebar filter for continents
|
| 22 |
st.sidebar.header("Filter")
|