Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from langchain.chains import ConversationalRetrievalChain
|
|
| 7 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
| 8 |
from langchain.memory import ConversationBufferMemory
|
| 9 |
from langchain_community.document_loaders import PyPDFLoader
|
| 10 |
-
|
| 11 |
load_dotenv()
|
| 12 |
|
| 13 |
# Get the Hugging Face API token from the .env file
|
|
|
|
| 7 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
| 8 |
from langchain.memory import ConversationBufferMemory
|
| 9 |
from langchain_community.document_loaders import PyPDFLoader
|
| 10 |
+
import os
|
| 11 |
load_dotenv()
|
| 12 |
|
| 13 |
# Get the Hugging Face API token from the .env file
|