legolasyiu commited on
Commit
931d198
1 Parent(s): b787ac9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,6 +1,7 @@
1
  from langchain import hub
2
- from langchain.agents import AgentExecutor, create_openai_tools_agent, load_tools
3
- from langchain_openai import ChatOpenAI
 
4
  from gradio import ChatMessage
5
  import gradio as gr
6
  import os
 
1
  from langchain import hub
2
+ from langchain.agents import AgentExecutor
3
+ #from langchain_openai import ChatOpenAI
4
+ from langchain_community.agent_toolkits.load_tools import load_tools
5
  from gradio import ChatMessage
6
  import gradio as gr
7
  import os