From e805aefa230f7800905a2aad4300bc1e7db03d9d Mon Sep 17 00:00:00 2001 From: Edwin J Date: Sat, 4 Nov 2023 12:25:45 -0700 Subject: [PATCH] updated huggingface url --- components/db/DbProvider.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/db/DbProvider.jsx b/components/db/DbProvider.jsx index 6a270224c..ebd5c1fe8 100644 --- a/components/db/DbProvider.jsx +++ b/components/db/DbProvider.jsx @@ -9,7 +9,7 @@ const datasets = { parquet: { // huggingface hfYtd: - 'https://huggingface.co/datasets/edwinjue/311-data-2023/resolve/refs%2Fconvert%2Fparquet/default/train/0000.parquet', // year-to-date + 'https://huggingface.co/datasets/edwinjue/311-data-2023/resolve/main/2023.parquet', // year-to-date hfLastMonth: 'https://huggingface.co/datasets/edwinjue/311-data-last-month/resolve/refs%2Fconvert%2Fparquet/edwinjue--311-data-last-month/csv-train.parquet', // last month }, @@ -49,14 +49,14 @@ const DbProvider = ({ children }) => { await newDb.instantiate( DUCKDB_CONFIG.mainModule, - DUCKDB_CONFIG.pthreadWorker, + DUCKDB_CONFIG.pthreadWorker ); // register parquet await newDb.registerFileURL( 'requests.parquet', datasets.parquet.hfYtd, - 4, // HTTP = 4. For more options: https://tinyurl.com/DuckDBDataProtocol + 4 // HTTP = 4. For more options: https://tinyurl.com/DuckDBDataProtocol ); // Create db connection