Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -191,12 +191,8 @@ def load_sparknlp_models():
|
|
191 |
return model_dict
|
192 |
|
193 |
|
194 |
-
#placeholder for warning
|
195 |
-
placeholder= st.empty()
|
196 |
-
placeholder.info("Processing...")
|
197 |
-
|
198 |
nlp_dict= load_sparknlp_models()
|
199 |
-
|
200 |
|
201 |
if selected_model=="ner_conll_albert_large_uncased":
|
202 |
text= st.text_input("Type here your text and press enter to run:", value="Mark Knopfler was born in Glasgow, Scotland. He is a British singer-songwriter, guitarist, and record producer. He became known as the lead guitarist, singer and songwriter of the rock band Dire Straits.")
|
|
|
191 |
return model_dict
|
192 |
|
193 |
|
|
|
|
|
|
|
|
|
194 |
nlp_dict= load_sparknlp_models()
|
195 |
+
|
196 |
|
197 |
if selected_model=="ner_conll_albert_large_uncased":
|
198 |
text= st.text_input("Type here your text and press enter to run:", value="Mark Knopfler was born in Glasgow, Scotland. He is a British singer-songwriter, guitarist, and record producer. He became known as the lead guitarist, singer and songwriter of the rock band Dire Straits.")
|