bhvsh commited on
Commit
1a976c8
1 Parent(s): 7f00d4a

Fixed the directory to the dataset

Browse files
Files changed (1) hide show
  1. apps/data.py +1 -1
apps/data.py CHANGED
@@ -16,7 +16,7 @@ def app():
16
  st.markdown('Dataset by Federico Soriano Palacios ([__fedesoriano__](https://www.kaggle.com/fedesoriano) on Kaggle)')
17
  st.markdown('Source: https://www.kaggle.com/datasets/fedesoriano/stroke-prediction-dataset')
18
 
19
- df = pd.read_csv("dataset\healthcare-dataset-stroke-data.csv")
20
  df['hypertension'] = df['hypertension'].map({0:"No", 1:"Yes"})
21
  df['heart_disease'] = df['heart_disease'].map({0:"No", 1:"Yes"})
22
  df['stroke'] = df['stroke'].map({0:"No", 1:"Yes"})
 
16
  st.markdown('Dataset by Federico Soriano Palacios ([__fedesoriano__](https://www.kaggle.com/fedesoriano) on Kaggle)')
17
  st.markdown('Source: https://www.kaggle.com/datasets/fedesoriano/stroke-prediction-dataset')
18
 
19
+ df = pd.read_csv("/home/user/app/dataset/healthcare-dataset-stroke-data.csv")
20
  df['hypertension'] = df['hypertension'].map({0:"No", 1:"Yes"})
21
  df['heart_disease'] = df['heart_disease'].map({0:"No", 1:"Yes"})
22
  df['stroke'] = df['stroke'].map({0:"No", 1:"Yes"})