khalo9747 commited on
Commit
e5e29ce
1 Parent(s): 1d3b00e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import matplotlib.pyplot as plt
4
  import seaborn as sns
5
 
6
  # Load the dataset from the GitHub link
7
- @st.cache
8
  def load_data():
9
  try:
10
  url = 'https://raw.githubusercontent.com/khalo9747/data-storage/main/data_cleaned.csv'
 
4
  import seaborn as sns
5
 
6
  # Load the dataset from the GitHub link
7
+ @st.cache_data
8
  def load_data():
9
  try:
10
  url = 'https://raw.githubusercontent.com/khalo9747/data-storage/main/data_cleaned.csv'