Spaces:
Runtime error
Runtime error
Commit ·
670b215
1
Parent(s): 25d462a
not sure what changed
Browse files- .vscode/settings.json +3 -0
- app.py +1 -1
.vscode/settings.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"python.analysis.typeCheckingMode": "off"
|
| 3 |
+
}
|
app.py
CHANGED
|
@@ -81,7 +81,7 @@ with open('./stopwords/stopwords.txt') as file:
|
|
| 81 |
# Adding my_stopwords to spacy stopwords
|
| 82 |
nlp.Defaults.stop_words = nlp.Defaults.stop_words.union(my_stopwords)
|
| 83 |
|
| 84 |
-
# Import and
|
| 85 |
embed = hub.load("https://tfhub.dev/google/universal-sentence-encoder/4")
|
| 86 |
|
| 87 |
# Function definitions
|
|
|
|
| 81 |
# Adding my_stopwords to spacy stopwords
|
| 82 |
nlp.Defaults.stop_words = nlp.Defaults.stop_words.union(my_stopwords)
|
| 83 |
|
| 84 |
+
# Import and instantiate embedding model
|
| 85 |
embed = hub.load("https://tfhub.dev/google/universal-sentence-encoder/4")
|
| 86 |
|
| 87 |
# Function definitions
|