Spaces:
Build error
Build error
jishnuprakash
commited on
Commit
•
3981553
1
Parent(s):
ff8a916
nltk-1
Browse files
app.py
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
"""
|
2 |
@author:jishnuprakash
|
3 |
"""
|
|
|
|
|
|
|
4 |
import os
|
5 |
import torch
|
6 |
import spacy
|
@@ -23,7 +26,6 @@ from transformers import AutoTokenizer, AutoModel
|
|
23 |
from pytorch_lightning.metrics.functional import accuracy, f1, auroc
|
24 |
from sklearn.metrics import classification_report
|
25 |
|
26 |
-
nltk.download('stopwords')
|
27 |
st.set_page_config(page_title='NLP Challenge- JP', layout='wide', page_icon=':computer:')
|
28 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
29 |
|
|
|
1 |
"""
|
2 |
@author:jishnuprakash
|
3 |
"""
|
4 |
+
import nltk
|
5 |
+
nltk.download('stopwords')
|
6 |
+
|
7 |
import os
|
8 |
import torch
|
9 |
import spacy
|
|
|
26 |
from pytorch_lightning.metrics.functional import accuracy, f1, auroc
|
27 |
from sklearn.metrics import classification_report
|
28 |
|
|
|
29 |
st.set_page_config(page_title='NLP Challenge- JP', layout='wide', page_icon=':computer:')
|
30 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
31 |
|