Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,10 @@ from langchain.prompts import PromptTemplate
|
|
18 |
from langchain.chains import RetrievalQA
|
19 |
from langchain.chains.conversation.memory import ConversationBufferWindowMemory
|
20 |
from langchain.agents import Tool, initialize_agent
|
|
|
|
|
|
|
|
|
21 |
|
22 |
|
23 |
# Set up logging
|
|
|
18 |
from langchain.chains import RetrievalQA
|
19 |
from langchain.chains.conversation.memory import ConversationBufferWindowMemory
|
20 |
from langchain.agents import Tool, initialize_agent
|
21 |
+
from huggingface_hub import login
|
22 |
+
|
23 |
+
# Call the login function to authenticate
|
24 |
+
login()
|
25 |
|
26 |
|
27 |
# Set up logging
|