diff --git a/pages/2_IEC61499_SQL_Chatbot.py b/pages/2_IEC61499_SQL_Chatbot.py index ef21972..9ba1356 100644 --- a/pages/2_IEC61499_SQL_Chatbot.py +++ b/pages/2_IEC61499_SQL_Chatbot.py @@ -36,7 +36,7 @@ st.chat_message(msg["role"]).write(msg["content"]) if db_uri: - agent = create_custom_sql_agent(db_uri) + agent = create_custom_sql_agent(f"postgresql+psycopg2://postgres:postgres@130.240.196.40:5432/HotWaterTank") if prompt := st.chat_input(): if not db_uri: