camphong24032002 commited on
Commit
87a7ec3
1 Parent(s): 3e16e3b
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import pandas as pd
2
  from sentence_transformers import SentenceTransformer, util
3
  from flask import Flask, render_template, request, jsonify
4
- import ntlk
5
- ntlk.download('stopwords')
6
  from nltk.corpus import stopwords
7
  stop = stopwords.words('english')
8
 
 
1
  import pandas as pd
2
  from sentence_transformers import SentenceTransformer, util
3
  from flask import Flask, render_template, request, jsonify
4
+ import nltk
5
+ nltk.download('stopwords')
6
  from nltk.corpus import stopwords
7
  stop = stopwords.words('english')
8
 
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  flask
2
- ntlk
3
  pandas
4
  numpy
5
  torch==2.0.0
 
1
  flask
2
+ nltk
3
  pandas
4
  numpy
5
  torch==2.0.0