Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from langchain.memory import ConversationBufferMemory
|
|
| 9 |
from langchain.chains import ConversationalRetrievalChain
|
| 10 |
import os
|
| 11 |
import nltk
|
| 12 |
-
nltk.download('
|
| 13 |
|
| 14 |
# Install Poppler and Tesseract in the runtime environment
|
| 15 |
os.system("apt-get update && apt-get install -y poppler-utils tesseract-ocr")
|
|
|
|
| 9 |
from langchain.chains import ConversationalRetrievalChain
|
| 10 |
import os
|
| 11 |
import nltk
|
| 12 |
+
nltk.download('punkt_tab')
|
| 13 |
|
| 14 |
# Install Poppler and Tesseract in the runtime environment
|
| 15 |
os.system("apt-get update && apt-get install -y poppler-utils tesseract-ocr")
|