Spaces:
Runtime error
Runtime error
kaushikbar
commited on
Commit
·
6881e71
1
Parent(s):
97a4ad6
added explain
Browse files
app.py
CHANGED
|
@@ -163,7 +163,6 @@ def sequence_to_classify(sequence, labels):
|
|
| 163 |
sequence,
|
| 164 |
predicted_labels))
|
| 165 |
|
| 166 |
-
'''
|
| 167 |
# Explain word attributes
|
| 168 |
stop_words = nltk.corpus.stopwords.words('english')
|
| 169 |
puncts = list(string.punctuation)
|
|
@@ -180,7 +179,6 @@ def sequence_to_classify(sequence, labels):
|
|
| 180 |
del response_expl[key][idx]
|
| 181 |
|
| 182 |
print(response_expl)
|
| 183 |
-
'''
|
| 184 |
|
| 185 |
return clean_output
|
| 186 |
|
|
|
|
| 163 |
sequence,
|
| 164 |
predicted_labels))
|
| 165 |
|
|
|
|
| 166 |
# Explain word attributes
|
| 167 |
stop_words = nltk.corpus.stopwords.words('english')
|
| 168 |
puncts = list(string.punctuation)
|
|
|
|
| 179 |
del response_expl[key][idx]
|
| 180 |
|
| 181 |
print(response_expl)
|
|
|
|
| 182 |
|
| 183 |
return clean_output
|
| 184 |
|