Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -89,13 +89,7 @@ elif selected_model== "ner_conll_elmo":
|
|
89 |
|
90 |
|
91 |
|
92 |
-
|
93 |
-
app_title= "Detect up to 12 entity types in movie domain texts"
|
94 |
-
app_description= "Named Entity Recognition model aimed to detect up to 12 entity types from movie domain texts. This model was trained on the MIT Movie Corpus complex queries dataset to detect movie trivia using Spark NLP, and it is available in Spark NLP Models hub (https://nlp.johnsnowlabs.com/models)"
|
95 |
-
st.title(app_title)
|
96 |
-
st.markdown("<h2>"+app_description+"</h2>" , unsafe_allow_html=True)
|
97 |
-
st.markdown("""**`ACTOR`** **,** **`AWARD`** **,** **`CHARACTER_NAME`** **,** **`DIRECTOR`** **,** **`GENRE`** **,** **`OPINION`** **,** **`ORIGIN`** **,** **`PLOT`**,
|
98 |
-
**`QUOTE`** **,** **`RELATIONSHIP`** **,** **`SOUNDTRACK`** **,** **`YEAR` **""", unsafe_allow_html=True)
|
99 |
|
100 |
elif selected_model=="ner_conll_albert_large_uncased":
|
101 |
app_title= "Detect up to 4 entity types in general domain texts"
|
|
|
89 |
|
90 |
|
91 |
|
92 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
|
94 |
elif selected_model=="ner_conll_albert_large_uncased":
|
95 |
app_title= "Detect up to 4 entity types in general domain texts"
|