Spaces:
Runtime error
Runtime error
camphong24032002
commited on
Commit
•
dfbdaad
1
Parent(s):
1c38840
Test
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import pandas as pd
|
2 |
from sentence_transformers import SentenceTransformer, util
|
3 |
from flask import Flask, render_template, request, jsonify
|
|
|
|
|
4 |
from nltk.corpus import stopwords
|
5 |
stop = stopwords.words('english')
|
6 |
|
|
|
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 |
|