Spaces:
Build error
Build error
Commit ·
541647d
1
Parent(s): 9c03e16
Removing the full details
Browse files- src/streamlit_app.py +8 -1
src/streamlit_app.py
CHANGED
|
@@ -23,8 +23,14 @@ if 'df' not in st.session_state:
|
|
| 23 |
st.title("Customer CRM App")
|
| 24 |
|
| 25 |
# Menu
|
| 26 |
-
option = st.sidebar.radio(
|
|
|
|
|
|
|
|
|
|
| 27 |
|
|
|
|
|
|
|
|
|
|
| 28 |
# Add customer
|
| 29 |
if option == "Add":
|
| 30 |
st.subheader("Add a new customer")
|
|
@@ -83,3 +89,4 @@ elif option == "Upload CSV":
|
|
| 83 |
if uploaded_file is not None:
|
| 84 |
st.session_state.df = pd.read_csv(uploaded_file)
|
| 85 |
st.success("Database loaded from uploaded CSV!")
|
|
|
|
|
|
| 23 |
st.title("Customer CRM App")
|
| 24 |
|
| 25 |
# Menu
|
| 26 |
+
option = st.sidebar.radio(
|
| 27 |
+
"Select Action",
|
| 28 |
+
["Add", "Delete", "Update", "Search", "View", "Upload CSV"]
|
| 29 |
+
)
|
| 30 |
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
"""
|
| 34 |
# Add customer
|
| 35 |
if option == "Add":
|
| 36 |
st.subheader("Add a new customer")
|
|
|
|
| 89 |
if uploaded_file is not None:
|
| 90 |
st.session_state.df = pd.read_csv(uploaded_file)
|
| 91 |
st.success("Database loaded from uploaded CSV!")
|
| 92 |
+
"""
|