cboettig commited on
Commit
b6bbbcc
·
2 Parent(s): 02d986c 9cfbb0e

Merge branch 'main' of https://huggingface.co/spaces/boettiger-lab/sql-chatbot

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ os.environ["OPENAI_API_KEY"] = st.secrets["OPENAI_API_KEY"]
14
  st.set_page_config(page_title="Protected Areas Database Chat", page_icon="🦜", layout="wide")
15
  st.title("🦜 Protected Areas Database Chat")
16
 
17
- db_uri = "duckdb:///:memory:"
18
  db_uri = "duckdb:///pad.duckdb"
19
  engine = create_engine(db_uri)
20
  from sqlalchemy import text
 
14
  st.set_page_config(page_title="Protected Areas Database Chat", page_icon="🦜", layout="wide")
15
  st.title("🦜 Protected Areas Database Chat")
16
 
17
+ #db_uri = "duckdb:///:memory:"
18
  db_uri = "duckdb:///pad.duckdb"
19
  engine = create_engine(db_uri)
20
  from sqlalchemy import text