Skip to content

Commit

Permalink
Merge pull request #12 from boettiger-lab/cboettig-patch-1
Browse files Browse the repository at this point in the history
Needs persistent storage!
  • Loading branch information
cboettig authored Dec 20, 2024
2 parents 7077316 + 4f3af4a commit 604eebf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sync to Hugging Face hub
name: Preview on Hugging Face
on:
pull_request:
# to run this workflow manually from the Actions tab
Expand All @@ -17,6 +17,6 @@ jobs:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add preview https://cboettig:[email protected]/spaces/boettiger-lab/preview-ca-30x30
git push --set-upstream preview HEAD:main
git push -f --set-upstream preview HEAD:main
git remote rm preview
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

## Create the table from remote parquet only if it doesn't already exist on disk

con = ibis.duckdb.connect(extensions=["spatial"])
con = ibis.duckdb.connect("duck.db", extensions=["spatial"])
current_tables = con.list_tables()
if "mydata" not in set(current_tables):
tbl = con.read_parquet(ca_parquet)
Expand Down

0 comments on commit 604eebf

Please sign in to comment.