BSJ2004 commited on
Commit
174c3a3
·
verified ·
1 Parent(s): 049ae32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from sklearn.cluster import KMeans
7
  # Load the dataset
8
  @st.cache_data
9
  def load_data():
10
- file_path = r"C:\Users\hp\Desktop\project\predictive crime\preprocessed_df1.csv" # Update with your file path
11
  return pd.read_csv(file_path, low_memory=False)
12
 
13
  # Function to calculate distance between two coordinates
 
7
  # Load the dataset
8
  @st.cache_data
9
  def load_data():
10
+ file_path ="preprocessed_df1.csv" # Update with your file path
11
  return pd.read_csv(file_path, low_memory=False)
12
 
13
  # Function to calculate distance between two coordinates