Jayesh13 commited on
Commit
bc6afdd
·
1 Parent(s): 7e8bf02

Rename APP.py to app.py

Browse files
Files changed (1) hide show
  1. APP.py → app.py +2 -2
APP.py → app.py RENAMED
@@ -83,10 +83,10 @@ def clean_text( text):
83
 
84
  return ''.join(words)
85
 
86
- df = pd.read_csv('C:\Users\HP\Documents\Model_deployment\train.csv.zip')
87
  df['comment_text'] = df['comment_text'].apply(lambda x: clean_text(x))
88
 
89
- model = pickle.load(open('C:\Users\HP\Documents\Model_deployment\tox_model.pkl','rb'))
90
 
91
  st.title('Toxic comment classification')
92
  input = st.text_area('Enter your comment')
 
83
 
84
  return ''.join(words)
85
 
86
+ df = pd.read_csv('train.csv')
87
  df['comment_text'] = df['comment_text'].apply(lambda x: clean_text(x))
88
 
89
+ model = pickle.load(open('tox_model.pkl','rb'))
90
 
91
  st.title('Toxic comment classification')
92
  input = st.text_area('Enter your comment')