Bitha commited on
Commit
8f2c722
1 Parent(s): 6db57b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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
- st.write(data)
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):