Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ class NLP:
|
|
113 |
return(tmp, self.__dummy_rat.score)
|
114 |
|
115 |
def __get_vocabulary(self):
|
116 |
-
with open("
|
117 |
res = o.read()
|
118 |
self.__vocabulary = res.split("\n")
|
119 |
self.__vocabulary = list(set(self.__vocabulary))
|
|
|
113 |
return(tmp, self.__dummy_rat.score)
|
114 |
|
115 |
def __get_vocabulary(self):
|
116 |
+
with open("models/vocabulary_polarity.txt", "r") as o:
|
117 |
res = o.read()
|
118 |
self.__vocabulary = res.split("\n")
|
119 |
self.__vocabulary = list(set(self.__vocabulary))
|