Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,17 +4,17 @@ import numpy as np
|
|
4 |
import os
|
5 |
from pathlib import Path
|
6 |
|
7 |
-
#
|
8 |
-
st.
|
9 |
-
st.write(f"Pandas version: {pd.__version__}")
|
10 |
-
st.write(f"Numpy version: {np.__version__}")
|
11 |
|
12 |
# URLs for the logos
|
13 |
MAIN_LOGO_URL = "https://islamictrusthk.org/assets/images/top-logo.png"
|
14 |
SIDEBAR_LOGO_URL = "https://bot.islamictrusthk.org/assets/content_files/20240606095159123011.png"
|
15 |
|
16 |
-
#
|
17 |
-
st.
|
|
|
|
|
18 |
|
19 |
# Inject custom CSS for better mobile compatibility
|
20 |
st.markdown(
|
@@ -235,4 +235,4 @@ else:
|
|
235 |
mime='text/csv',
|
236 |
)
|
237 |
else:
|
238 |
-
st.info("No data matches the filter criteria.")
|
|
|
4 |
import os
|
5 |
from pathlib import Path
|
6 |
|
7 |
+
# Configure the page to be mobile-friendly
|
8 |
+
st.set_page_config(layout="centered", page_title="Restaurant Data Viewer")
|
|
|
|
|
9 |
|
10 |
# URLs for the logos
|
11 |
MAIN_LOGO_URL = "https://islamictrusthk.org/assets/images/top-logo.png"
|
12 |
SIDEBAR_LOGO_URL = "https://bot.islamictrusthk.org/assets/content_files/20240606095159123011.png"
|
13 |
|
14 |
+
# Print the versions of the packages
|
15 |
+
st.write(f"Streamlit version: {st.__version__}")
|
16 |
+
st.write(f"Pandas version: {pd.__version__}")
|
17 |
+
st.write(f"Numpy version: {np.__version__}")
|
18 |
|
19 |
# Inject custom CSS for better mobile compatibility
|
20 |
st.markdown(
|
|
|
235 |
mime='text/csv',
|
236 |
)
|
237 |
else:
|
238 |
+
st.info("No data matches the filter criteria.")
|