Amrrs commited on
Commit
39f597c
·
1 Parent(s): 03589ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ st.title("Numerizer - Convert *English Numbers* into *Ints* and *Floats*")
11
  @st.cache(allow_output_mutation=True, suppress_st_warning=True)
12
  def load_model():
13
  """Load a spaCy model."""
14
- model = en_core_web_sm.load()
15
  return model
16
 
17
 
 
11
  @st.cache(allow_output_mutation=True, suppress_st_warning=True)
12
  def load_model():
13
  """Load a spaCy model."""
14
+ model = spacy.load("en_core_web_sm")
15
  return model
16
 
17