Commit
·
ae7453b
1
Parent(s):
73e1dac
removed del scores['custom'] as we don't have a custom , becks me never used sentimentality nlpk library
Browse files
app.py
CHANGED
@@ -15,7 +15,6 @@ def preprocess(text):
|
|
15 |
|
16 |
def sentiment_analysis(text):
|
17 |
scores = model.predict(text)
|
18 |
-
del scores["compound"]
|
19 |
return scores
|
20 |
|
21 |
iface = gr.Interface(
|
|
|
15 |
|
16 |
def sentiment_analysis(text):
|
17 |
scores = model.predict(text)
|
|
|
18 |
return scores
|
19 |
|
20 |
iface = gr.Interface(
|