Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,15 +15,19 @@ st.set_page_config(page_title="Multi-App Platform", layout="wide")
|
|
| 15 |
st.title("Multi-App Streamlit Platform")
|
| 16 |
st.subheader("Developed by [Your Name]")
|
| 17 |
|
| 18 |
-
# Display apps in a grid
|
| 19 |
-
cols = st.columns(
|
| 20 |
selected_app = None
|
| 21 |
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
# Load and run the selected app
|
| 29 |
if selected_app:
|
|
|
|
| 15 |
st.title("Multi-App Streamlit Platform")
|
| 16 |
st.subheader("Developed by [Your Name]")
|
| 17 |
|
| 18 |
+
# Display apps in a 2x3 grid
|
| 19 |
+
cols = st.columns(3)
|
| 20 |
selected_app = None
|
| 21 |
|
| 22 |
+
app_items = list(APPS.items())
|
| 23 |
+
for i in range(0, len(app_items), 3):
|
| 24 |
+
row_apps = app_items[i:i+3]
|
| 25 |
+
row = st.columns(3)
|
| 26 |
+
for col, (app_name, app_info) in zip(row, row_apps):
|
| 27 |
+
with col:
|
| 28 |
+
st.image("placeholder.png", width=100) # Replace with actual logo path
|
| 29 |
+
if st.button(f"{app_info['icon']}\n{app_name}", key=app_name):
|
| 30 |
+
selected_app = app_name
|
| 31 |
|
| 32 |
# Load and run the selected app
|
| 33 |
if selected_app:
|