Update app.py
Browse files
app.py
CHANGED
|
@@ -54,6 +54,14 @@ st.markdown(
|
|
| 54 |
"""
|
| 55 |
)
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
# User role selection
|
| 58 |
user_role = st.selectbox("🔹 Select Your Role:", ["Citizen", "Municipal Worker", "Recycling Company", "Biogas Plant"])
|
| 59 |
|
|
@@ -90,4 +98,4 @@ st.sidebar.markdown(
|
|
| 90 |
|
| 91 |
💡 **Need Help?** Use the chat to ask questions!
|
| 92 |
"""
|
| 93 |
-
)
|
|
|
|
| 54 |
"""
|
| 55 |
)
|
| 56 |
|
| 57 |
+
# Back Button to Redirect to Dashboard
|
| 58 |
+
if st.button("🔙 Back to Dashboard"):
|
| 59 |
+
st.markdown("""
|
| 60 |
+
<script>
|
| 61 |
+
window.location.href = 'https://binsight.onrender.com/dashboard.html';
|
| 62 |
+
</script>
|
| 63 |
+
", unsafe_allow_html=True)
|
| 64 |
+
|
| 65 |
# User role selection
|
| 66 |
user_role = st.selectbox("🔹 Select Your Role:", ["Citizen", "Municipal Worker", "Recycling Company", "Biogas Plant"])
|
| 67 |
|
|
|
|
| 98 |
|
| 99 |
💡 **Need Help?** Use the chat to ask questions!
|
| 100 |
"""
|
| 101 |
+
)
|