Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -191,8 +191,10 @@ def load_sparknlp_models():
|
|
191 |
return model_dict
|
192 |
|
193 |
|
194 |
-
|
|
|
195 |
nlp_dict= load_sparknlp_models()
|
|
|
196 |
|
197 |
|
198 |
if selected_model=="ner_conll_albert_large_uncased":
|
|
|
191 |
return model_dict
|
192 |
|
193 |
|
194 |
+
placeholder= st.empty()
|
195 |
+
placeholder.info("If you are launching the app for the first time, it may take some time (approximately 1 minute) for SparkNLP models to load...")
|
196 |
nlp_dict= load_sparknlp_models()
|
197 |
+
placeholder.empty()
|
198 |
|
199 |
|
200 |
if selected_model=="ner_conll_albert_large_uncased":
|