Spaces:
Runtime error
Runtime error
Commit
·
2f4e364
1
Parent(s):
23a2b0d
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ def perform_inference(text,display_area):
|
|
106 |
|
107 |
|
108 |
if (st.session_state['phi_model'] is None):
|
109 |
-
display_area.text("Loading model 1 of 2.
|
110 |
st.session_state['phi_model'] = bd.BatchInference("bbc/desc_bbc_config.json",'bert-base-cased',False,False,DEFAULT_TOP_K,True,True, "bbc/","bbc/bbc_labels.txt",False)
|
111 |
|
112 |
#Load POS model if needed and gets POS tags
|
|
|
106 |
|
107 |
|
108 |
if (st.session_state['phi_model'] is None):
|
109 |
+
display_area.text("Loading model 1 of 2. BERT model...")
|
110 |
st.session_state['phi_model'] = bd.BatchInference("bbc/desc_bbc_config.json",'bert-base-cased',False,False,DEFAULT_TOP_K,True,True, "bbc/","bbc/bbc_labels.txt",False)
|
111 |
|
112 |
#Load POS model if needed and gets POS tags
|