aemin commited on
Commit
4a29e54
·
1 Parent(s): 9f5bbdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -191,8 +191,12 @@ def load_sparknlp_models():
191
  return model_dict
192
 
193
 
 
 
 
194
 
195
  nlp_dict= load_sparknlp_models()
 
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.")
 
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
+ placeholder.empty()
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.")