cyberandy commited on
Commit
40806d0
·
1 Parent(s): 6d71ce7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ else:
42
  def load_model(selected_language, model_name=None, entity_set=None):
43
  if selected_language == "German":
44
  # Load the German-specific model
45
- nlp_model_de = spacy.load("de_core_news_sm")
46
  nlp_model_de.add_pipe("entityfishing", config={"language": "de"})
47
 
48
  return nlp_model_de
 
42
  def load_model(selected_language, model_name=None, entity_set=None):
43
  if selected_language == "German":
44
  # Load the German-specific model
45
+ nlp_model_de = spacy.load("de_core_news_lg")
46
  nlp_model_de.add_pipe("entityfishing", config={"language": "de"})
47
 
48
  return nlp_model_de