Neon-tech commited on
Commit
05040bd
·
verified ·
1 Parent(s): a11be02

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py DELETED
@@ -1,12 +0,0 @@
1
- import requests
2
- import pyarrow.parquet as pq
3
- from io import BytesIO
4
-
5
- url = "https://huggingface.co/buckets/Neon-tech/Dataset-arranger/resolve/image-shards/shard_000023.parquet?download=true"
6
-
7
- response = requests.get(url)
8
- response.raise_for_status()
9
-
10
- table = pq.read_table(BytesIO(response.content))
11
-
12
- print("Number of rows:", table.num_rows)