Skip to content

Commit 7197615

Browse files
authored
Create space and fix ci (#8)
* update the README * update github action
1 parent 5f6bf39 commit 7197615

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/deploy-to-huggingface.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
env:
9-
STATIC_SPACE: "severo/parquet-viewer"
9+
STATIC_SPACE: "hyperparam/hyperparam"
1010
DIRECTORY: "dist"
1111

1212
jobs:
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Node.js
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: "20"
28+
node-version: "22"
2929
- name: build the app
3030
run: npm install && npm run build
3131
- name: Copy the README.md from the space to the public folder

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
# View Parquet files on Hugging Face
22

3-
This app allows you to view Parquet files hosted in a Hugging Face dataset. It hardcoded for now: https://huggingface.co/datasets/codeparrot/github-code/resolve/main/data/train-00000-of-01126.parquet
3+
This app allows you to view any file hosted in a Hugging Face dataset. You can search for a dataset, browse its files, and view them as:
4+
- a table if the file is Parquet
5+
- an image if the file is an image
6+
- an HTML page if the file is Markdown
7+
- plain text otherwise.
48

5-
The app is static and is currently deployed with a [GitHub Action](./github/workflows/ci.yml) to a Hugging Face space: https://huggingface.co/spaces/severo/parquet-viewer.
9+
It's particularly useful to view Parquet files.
10+
11+
You can login with your Hugging Face account to view private datasets.
12+
13+
The app is static and is currently deployed with a [GitHub Action](./github/workflows/ci.yml) to a Hugging Face space: https://huggingface.co/spaces/hyperparam/hyperparam.
614

715
Created with `npm create vite@latest parquet-viewer -- --template react-ts`. See https://blog.rednegra.net/2024/10/14/create-a-static-huggingface-space-with-react.

0 commit comments

Comments
 (0)