Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
|
4 |
from langchain.llms import AzureOpenAI
|
5 |
from langchain.chat_models import AzureChatOpenAI
|
6 |
-
from langchain.chains import SQLDatabaseChain
|
7 |
from langchain.agents import Tool, AgentType, initialize_agent
|
8 |
from langchain.memory import ConversationBufferMemory
|
9 |
from langchain.prompts.prompt import PromptTemplate
|
|
|
3 |
|
4 |
from langchain.llms import AzureOpenAI
|
5 |
from langchain.chat_models import AzureChatOpenAI
|
6 |
+
from langchain.chains.sql_database.base import SQLDatabaseChain
|
7 |
from langchain.agents import Tool, AgentType, initialize_agent
|
8 |
from langchain.memory import ConversationBufferMemory
|
9 |
from langchain.prompts.prompt import PromptTemplate
|