Vish2005 commited on
Commit
503abb3
1 Parent(s): 9357b96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -47,7 +47,9 @@ service = pd.read_csv('cust_service_data.csv')
47
  """# Entity Extraction"""
48
 
49
  # extract entities, label, label definition from natural language questions and append to dataframe
50
- nlp = en_core_web_sm.load()
 
 
51
  def EntityExtraction(text:str):
52
  # print(text)
53
  entities = []
 
47
  """# Entity Extraction"""
48
 
49
  # extract entities, label, label definition from natural language questions and append to dataframe
50
+
51
+ pip install https://huggingface.co/spacy/en_core_web_sm/resolve/main/en_core_web_sm-any-py3-none-any.whl
52
+ nlp = spacy.load("en_core_web_sm")
53
  def EntityExtraction(text:str):
54
  # print(text)
55
  entities = []