Spaces:
Sleeping
Sleeping
Suraj Yadav
commited on
Commit
•
7344cbb
1
Parent(s):
c807828
Update StreamlitCallbackHandler
Browse files
app.py
CHANGED
@@ -3,7 +3,8 @@ from langchain_groq import ChatGroq
|
|
3 |
from langchain_community.utilities import ArxivAPIWrapper,WikipediaAPIWrapper
|
4 |
from langchain_community.tools import ArxivQueryRun,WikipediaQueryRun,DuckDuckGoSearchRun
|
5 |
from langchain.agents import initialize_agent,AgentType
|
6 |
-
from langchain.callbacks import StreamlitCallbackHandler
|
|
|
7 |
import os
|
8 |
from dotenv import load_dotenv
|
9 |
|
|
|
3 |
from langchain_community.utilities import ArxivAPIWrapper,WikipediaAPIWrapper
|
4 |
from langchain_community.tools import ArxivQueryRun,WikipediaQueryRun,DuckDuckGoSearchRun
|
5 |
from langchain.agents import initialize_agent,AgentType
|
6 |
+
# from langchain.callbacks import StreamlitCallbackHandler
|
7 |
+
from langchain_community.callbacks.streamlit import StreamlitCallbackHandler
|
8 |
import os
|
9 |
from dotenv import load_dotenv
|
10 |
|