Huertas97 commited on
Commit
02bbaf8
1 Parent(s): c494440

Change model path

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ st.set_page_config(
18
 
19
  @st.cache(show_spinner=False, allow_output_mutation=True, suppress_st_warning=True)
20
  def load_models():
21
- spanish_model = spacy.load("../spacy-models/toy_output_es_blank/model-best/")
22
- english_model = spacy.load("../spacy-models/toy_output_en_blank/model-best/")
23
  models = {"English": english_model, "Spanish": spanish_model}
24
  return models
25
 
 
18
 
19
  @st.cache(show_spinner=False, allow_output_mutation=True, suppress_st_warning=True)
20
  def load_models():
21
+ spanish_model = spacy.load("./spacy-models/toy_output_es_blank/model-best/")
22
+ english_model = spacy.load("./spacy-models/toy_output_en_blank/model-best/")
23
  models = {"English": english_model, "Spanish": spanish_model}
24
  return models
25