Skip to content

Commit e805aef

Browse files
committed
updated huggingface url
1 parent 13e8d0f commit e805aef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/db/DbProvider.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const datasets = {
99
parquet: {
1010
// huggingface
1111
hfYtd:
12-
'https://huggingface.co/datasets/edwinjue/311-data-2023/resolve/refs%2Fconvert%2Fparquet/default/train/0000.parquet', // year-to-date
12+
'https://huggingface.co/datasets/edwinjue/311-data-2023/resolve/main/2023.parquet', // year-to-date
1313
hfLastMonth:
1414
'https://huggingface.co/datasets/edwinjue/311-data-last-month/resolve/refs%2Fconvert%2Fparquet/edwinjue--311-data-last-month/csv-train.parquet', // last month
1515
},
@@ -49,14 +49,14 @@ const DbProvider = ({ children }) => {
4949

5050
await newDb.instantiate(
5151
DUCKDB_CONFIG.mainModule,
52-
DUCKDB_CONFIG.pthreadWorker,
52+
DUCKDB_CONFIG.pthreadWorker
5353
);
5454

5555
// register parquet
5656
await newDb.registerFileURL(
5757
'requests.parquet',
5858
datasets.parquet.hfYtd,
59-
4, // HTTP = 4. For more options: https://tinyurl.com/DuckDBDataProtocol
59+
4 // HTTP = 4. For more options: https://tinyurl.com/DuckDBDataProtocol
6060
);
6161

6262
// Create db connection

0 commit comments

Comments
 (0)