Le Quang Huy commited on
Commit
a8fdd2c
·
verified ·
1 Parent(s): feeb42a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,9 +15,9 @@ if not csv_files:
15
  file_path = os.path.join(path, csv_files[0])
16
  print(f"Using dataset file: {file_path}")
17
 
18
- data = pd.read_csv(file_path)
19
  print("Dataset loaded successfully")
20
- print("Columns: ", data.columns.tolist())
21
 
22
  X = df[['magnitude','depth' ,'cdi', 'mmi', 'sig']]
23
  y = df['alert']
 
15
  file_path = os.path.join(path, csv_files[0])
16
  print(f"Using dataset file: {file_path}")
17
 
18
+ df = pd.read_csv(file_path)
19
  print("Dataset loaded successfully")
20
+ print("Columns: ", df.columns.tolist())
21
 
22
  X = df[['magnitude','depth' ,'cdi', 'mmi', 'sig']]
23
  y = df['alert']