Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,8 +41,10 @@ data = load_data(file_path)
|
|
41 |
|
42 |
# Display the data using Streamlit
|
43 |
st.write("### List of Product")
|
44 |
-
|
45 |
-
|
|
|
|
|
46 |
st.write('---')
|
47 |
# Define function to filter dataset based on gender
|
48 |
def filter_dataset_by_gender(data, gender_filter):
|
|
|
41 |
|
42 |
# Display the data using Streamlit
|
43 |
st.write("### List of Product")
|
44 |
+
# Create a button to show/hide the data
|
45 |
+
if st.button("Show Data"):
|
46 |
+
st.write(data)
|
47 |
+
|
48 |
st.write('---')
|
49 |
# Define function to filter dataset based on gender
|
50 |
def filter_dataset_by_gender(data, gender_filter):
|