Spaces:
Sleeping
Sleeping
Merge branch 'main' of https://huggingface.co/spaces/boettiger-lab/sql-chatbot
Browse files
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
|