Spaces:
Running
Running
wzkariampuzha
commited on
Commit
·
d7784f0
1
Parent(s):
0658c6b
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import pandas as pd
|
2 |
#classify_abs is a dependency for extract_abs
|
3 |
import classify_abs
|
@@ -14,17 +16,11 @@ st.title("Text Classification for Service Feedback")
|
|
14 |
|
15 |
# https://docs.streamlit.io/library/api-reference/text/st.markdown
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
########## Create Input field ##########
|
21 |
disease_or_gard_id = st.text_input('Input a rare disease term or a GARD ID.', 'Fellman syndrome')
|
22 |
|
23 |
-
|
24 |
# st.code(body, language="python")
|
25 |
|
26 |
-
|
27 |
-
|
28 |
#LSTM RNN Epi Classifier Model
|
29 |
classify_model_vars = classify_abs.init_classify_model()
|
30 |
|
|
|
1 |
+
import nltk
|
2 |
+
nltk.download('stopwords')
|
3 |
import pandas as pd
|
4 |
#classify_abs is a dependency for extract_abs
|
5 |
import classify_abs
|
|
|
16 |
|
17 |
# https://docs.streamlit.io/library/api-reference/text/st.markdown
|
18 |
|
|
|
|
|
|
|
19 |
########## Create Input field ##########
|
20 |
disease_or_gard_id = st.text_input('Input a rare disease term or a GARD ID.', 'Fellman syndrome')
|
21 |
|
|
|
22 |
# st.code(body, language="python")
|
23 |
|
|
|
|
|
24 |
#LSTM RNN Epi Classifier Model
|
25 |
classify_model_vars = classify_abs.init_classify_model()
|
26 |
|