Spaces:
Running
Running
Add README
Browse files- .github/workflows/sync-hf.yml +20 -0
- .pre-commit-config.yaml +28 -0
- README.md +18 -0
.github/workflows/sync-hf.yml
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Sync to Hugging Face hub
|
2 |
+
on:
|
3 |
+
push:
|
4 |
+
branches: [main]
|
5 |
+
|
6 |
+
# to run this workflow manually from the Actions tab
|
7 |
+
workflow_dispatch:
|
8 |
+
|
9 |
+
jobs:
|
10 |
+
sync-to-hub:
|
11 |
+
runs-on: ubuntu-latest
|
12 |
+
steps:
|
13 |
+
- uses: actions/checkout@v4
|
14 |
+
with:
|
15 |
+
fetch-depth: 0
|
16 |
+
lfs: true
|
17 |
+
- name: Push to hub
|
18 |
+
env:
|
19 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
20 |
+
run: git push --force https://giswqs:$HF_TOKEN@huggingface.co/spaces/giswqs/tn-historical-imagery main
|
.pre-commit-config.yaml
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
repos:
|
2 |
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
3 |
+
rev: v4.6.0
|
4 |
+
hooks:
|
5 |
+
- id: check-toml
|
6 |
+
- id: check-yaml
|
7 |
+
- id: end-of-file-fixer
|
8 |
+
types: [python]
|
9 |
+
- id: trailing-whitespace
|
10 |
+
- id: requirements-txt-fixer
|
11 |
+
- id: check-added-large-files
|
12 |
+
args: ["--maxkb=500"]
|
13 |
+
|
14 |
+
- repo: https://github.com/psf/black
|
15 |
+
rev: 24.8.0
|
16 |
+
hooks:
|
17 |
+
- id: black-jupyter
|
18 |
+
|
19 |
+
- repo: https://github.com/codespell-project/codespell
|
20 |
+
rev: v2.3.0
|
21 |
+
hooks:
|
22 |
+
- id: codespell
|
23 |
+
args: ["--ignore-words-list=gis,timeseries,ned", "--skip=*.json,*.csv"]
|
24 |
+
|
25 |
+
- repo: https://github.com/kynan/nbstripout
|
26 |
+
rev: 0.7.1
|
27 |
+
hooks:
|
28 |
+
- id: nbstripout
|
README.md
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Tennessee Historical Imagery
|
3 |
+
emoji: π
|
4 |
+
colorFrom: green
|
5 |
+
colorTo: red
|
6 |
+
sdk: docker
|
7 |
+
pinned: false
|
8 |
+
license: mit
|
9 |
+
app_port: 8765
|
10 |
+
---
|
11 |
+
|
12 |
+
## TN-historical-imagery
|
13 |
+
|
14 |
+
An interactive web app for visualizing Tennessee historical imagery.
|
15 |
+
|
16 |
+
- Web App: <https://giswqs-tn-historical-imagery.hf.space>
|
17 |
+
- GitHub: <https://github.com/giswqs/tn-historical-imagery>
|
18 |
+
- Hugging Face: <https://huggingface.co/spaces/giswqs/tn-historical-imagery>
|