Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
# app_pixal_chat.py
|
| 2 |
import os, re, json, gradio as gr
|
| 3 |
-
from
|
| 4 |
-
from
|
| 5 |
-
from
|
| 6 |
from langchain_experimental.tools.python.tool import PythonREPLTool
|
| 7 |
from langchain_community.retrievers import WikipediaRetriever
|
| 8 |
import datetime
|
|
|
|
| 1 |
# app_pixal_chat.py
|
| 2 |
import os, re, json, gradio as gr
|
| 3 |
+
from langchain_community.memory import ConversationBufferMemory
|
| 4 |
+
from llangchain_community.agents import initialize_agent, AgentType, load_tools
|
| 5 |
+
from langchain_community.tools import Tool
|
| 6 |
from langchain_experimental.tools.python.tool import PythonREPLTool
|
| 7 |
from langchain_community.retrievers import WikipediaRetriever
|
| 8 |
import datetime
|