Amirizaniani commited on
Commit
e2f6264
1 Parent(s): 17ef7b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -7,6 +7,8 @@ from transformers import pipeline
7
  from langchain.llms.huggingface_pipeline import HuggingFacePipeline
8
  from sentence_transformers import SentenceTransformer
9
  from sklearn.cluster import KMeans
 
 
10
  from nltk.tokenize import word_tokenize
11
  import numpy as np
12
  import scipy.spatial
 
7
  from langchain.llms.huggingface_pipeline import HuggingFacePipeline
8
  from sentence_transformers import SentenceTransformer
9
  from sklearn.cluster import KMeans
10
+ import nltk
11
+ nltk.download('punkt')
12
  from nltk.tokenize import word_tokenize
13
  import numpy as np
14
  import scipy.spatial