Chris Finlayson commited on
Commit
b70c9a1
·
1 Parent(s): 3baaa6f

Fix to spacy model load logic

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -14,8 +14,6 @@ import networkx as nx # Importing networkx for creating, manipulating, and stud
14
  import matplotlib.pyplot as plt # Importing matplotlib.pyplot for data visualization
15
  from tqdm import tqdm # Importing tqdm for progress bars
16
 
17
- nlp = spacy.load('en_core_web_sm') # Loading the English model
18
-
19
  try:
20
  nlp = spacy.load('en_core_web_sm') # Trying to load the English model
21
  except OSError:
 
14
  import matplotlib.pyplot as plt # Importing matplotlib.pyplot for data visualization
15
  from tqdm import tqdm # Importing tqdm for progress bars
16
 
 
 
17
  try:
18
  nlp = spacy.load('en_core_web_sm') # Trying to load the English model
19
  except OSError: