abdullahmubeen10 commited on
Commit
2e04710
1 Parent(s): c34bb92

Update pages/Named Entity Recognition.py

Browse files
Files changed (1) hide show
  1. pages/Named Entity Recognition.py +2 -1
pages/Named Entity Recognition.py CHANGED
@@ -231,7 +231,8 @@ ner_mapping = {
231
  'DRV': 'Driver'
232
  }
233
 
234
- model_list = language_info[abbreviation_map['English']]["model_name"]
 
235
  model = st.sidebar.selectbox("Choose the pretrained model", model_list, help="For more info about the models visit: https://sparknlp.org/models")
236
  st.title(language_info[abbreviation_map[langauge]]["title"])
237
 
 
231
  'DRV': 'Driver'
232
  }
233
 
234
+ langauge = 'English'
235
+ model_list = language_info[abbreviation_map[langauge]]["model_name"]
236
  model = st.sidebar.selectbox("Choose the pretrained model", model_list, help="For more info about the models visit: https://sparknlp.org/models")
237
  st.title(language_info[abbreviation_map[langauge]]["title"])
238