Spaces:
Build error
Build error
Change model path
Browse files
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("
|
22 |
-
english_model = spacy.load("
|
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 |
|