Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -191,12 +191,13 @@ def load_sparknlp_models():
|
|
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 |
|
|
|
|
|
197 |
nlp_dict= load_sparknlp_models()
|
|
|
|
|
198 |
|
199 |
-
placeholder.empty()
|
200 |
|
201 |
|
202 |
if selected_model=="ner_conll_albert_large_uncased":
|
|
|
191 |
return model_dict
|
192 |
|
193 |
|
|
|
|
|
194 |
|
195 |
+
placeholder_= st.empty()
|
196 |
+
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...")
|
197 |
nlp_dict= load_sparknlp_models()
|
198 |
+
placeholder_.empty()
|
199 |
+
|
200 |
|
|
|
201 |
|
202 |
|
203 |
if selected_model=="ner_conll_albert_large_uncased":
|