diff --git a/python/sqlzilla/app.py b/python/sqlzilla/app.py index 65f850f..ef52f9d 100644 --- a/python/sqlzilla/app.py +++ b/python/sqlzilla/app.py @@ -79,6 +79,7 @@ def clean_response(response): st.session_state.openai_api_key = api_key st.success("Configuration updated!") +database_schema = None if (st.session_state.namespace and st.session_state.openai_api_key): sqlzilla = SQLZilla(db_connection_str(), st.session_state.openai_api_key) # Initial prompts for namespace and database schema