kristada673 commited on
Commit
ffffadf
1 Parent(s): 50f5ce6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -3,6 +3,9 @@ from langchain.document_loaders import UnstructuredPDFLoader
3
  from langchain.indexes import VectorstoreIndexCreator
4
  from vectorstore import VectorstoreIndexCreator
5
 
 
 
 
6
  os.environ['OPENAI_API_KEY'] = os.getenv("OPENAI_API_KEY")
7
 
8
  text_folder = '10K_Annual_Reports'
 
3
  from langchain.indexes import VectorstoreIndexCreator
4
  from vectorstore import VectorstoreIndexCreator
5
 
6
+ import nltk
7
+ nltk.download('punkt')
8
+
9
  os.environ['OPENAI_API_KEY'] = os.getenv("OPENAI_API_KEY")
10
 
11
  text_folder = '10K_Annual_Reports'