Spaces:
Runtime error
Runtime error
Souha Ben Hassine
commited on
Commit
·
e1e02fe
1
Parent(s):
9140ddf
remove unnecessary imports
Browse files- app.py +0 -6
- requirements.txt +3 -0
app.py
CHANGED
@@ -4,14 +4,8 @@ import spacy
|
|
4 |
from spacy.pipeline import EntityRuler
|
5 |
from spacy.lang.en import English
|
6 |
from spacy.tokens import Doc
|
7 |
-
import gensim
|
8 |
-
from gensim import corpora
|
9 |
from spacy import displacy
|
10 |
-
import pyLDAvis.gensim_models
|
11 |
-
from wordcloud import WordCloud
|
12 |
import plotly.express as px
|
13 |
-
import matplotlib.pyplot as plt
|
14 |
-
import pandas as pd
|
15 |
import numpy as np
|
16 |
import re
|
17 |
import nltk
|
|
|
4 |
from spacy.pipeline import EntityRuler
|
5 |
from spacy.lang.en import English
|
6 |
from spacy.tokens import Doc
|
|
|
|
|
7 |
from spacy import displacy
|
|
|
|
|
8 |
import plotly.express as px
|
|
|
|
|
9 |
import numpy as np
|
10 |
import re
|
11 |
import nltk
|
requirements.txt
CHANGED
@@ -3,4 +3,7 @@ spacy
|
|
3 |
transformers
|
4 |
torch
|
5 |
gradio
|
|
|
|
|
|
|
6 |
https://huggingface.co/spacy/en_core_web_lg/resolve/main/en_core_web_lg-any-py3-none-any.whl
|
|
|
3 |
transformers
|
4 |
torch
|
5 |
gradio
|
6 |
+
nltk
|
7 |
+
plotly
|
8 |
+
numpy
|
9 |
https://huggingface.co/spacy/en_core_web_lg/resolve/main/en_core_web_lg-any-py3-none-any.whl
|