ABHI010 commited on
Commit
53ceef1
·
verified ·
1 Parent(s): bbe86f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ import gradio as gr
12
  import re
13
 
14
  # Load and preprocess dataset
15
- dataset = pd.read_csv('/content/email_spam (1).csv', on_bad_lines='skip', engine='python')
16
 
17
  # Drop rows where 'spam' or 'text' is NaN and convert 'spam' to numeric
18
  dataset.dropna(subset=['spam', 'text'], inplace=True)
 
12
  import re
13
 
14
  # Load and preprocess dataset
15
+ dataset = pd.read_csv('Email_spam_niki.csv', on_bad_lines='skip', engine='python')
16
 
17
  # Drop rows where 'spam' or 'text' is NaN and convert 'spam' to numeric
18
  dataset.dropna(subset=['spam', 'text'], inplace=True)