Spaces:
Sleeping
Sleeping
adding info on node version
Browse files- README.md +3 -3
- package-lock.json +0 -0
- src/components/Waterfall.tsx +1 -1
README.md
CHANGED
|
@@ -26,7 +26,7 @@ The underlying dataset from Hugging Face includes:
|
|
| 26 |
|
| 27 |
### Prerequisites
|
| 28 |
|
| 29 |
-
You need to have [Node.js](https://nodejs.org/) (which includes npm) installed on your machine.
|
| 30 |
|
| 31 |
### Installation & Setup
|
| 32 |
|
|
@@ -41,14 +41,14 @@ You need to have [Node.js](https://nodejs.org/) (which includes npm) installed o
|
|
| 41 |
npm install
|
| 42 |
```
|
| 43 |
|
| 44 |
-
3. **Fetch Data and Build the Database:**
|
| 45 |
This command downloads the Parquet datasets from Hugging Face and creates a local `database.duckdb` file at the root of the project.
|
| 46 |
|
| 47 |
```sh
|
| 48 |
npm run db:rebuild
|
| 49 |
```
|
| 50 |
|
| 51 |
-
4. **Run the application:**
|
| 52 |
This command starts the React frontend development server.
|
| 53 |
|
| 54 |
```sh
|
|
|
|
| 26 |
|
| 27 |
### Prerequisites
|
| 28 |
|
| 29 |
+
You need to have [Node.js](https://nodejs.org/) (which includes npm) installed on your machine. Requires Node version >=20.15.1
|
| 30 |
|
| 31 |
### Installation & Setup
|
| 32 |
|
|
|
|
| 41 |
npm install
|
| 42 |
```
|
| 43 |
|
| 44 |
+
3. **Fetch Data and Build the Database:**
|
| 45 |
This command downloads the Parquet datasets from Hugging Face and creates a local `database.duckdb` file at the root of the project.
|
| 46 |
|
| 47 |
```sh
|
| 48 |
npm run db:rebuild
|
| 49 |
```
|
| 50 |
|
| 51 |
+
4. **Run the application:**
|
| 52 |
This command starts the React frontend development server.
|
| 53 |
|
| 54 |
```sh
|
package-lock.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
src/components/Waterfall.tsx
CHANGED
|
@@ -40,7 +40,7 @@ const Waterfall: React.FC<WaterfallProps> = ({ matrix, judge1, judge2, onCellCli
|
|
| 40 |
title={`${category_label} (${count})`}
|
| 41 |
onClick={() => fromCategory && onCellClick(fromCategory, category_label)}
|
| 42 |
>
|
| 43 |
-
{(count > 0 && category_label != 'BASE' &&
|
| 44 |
</div>
|
| 45 |
);
|
| 46 |
})}
|
|
|
|
| 40 |
title={`${category_label} (${count})`}
|
| 41 |
onClick={() => fromCategory && onCellClick(fromCategory, category_label)}
|
| 42 |
>
|
| 43 |
+
{(count > 0 && category_label != 'BASE' && fromCategory) && <span className="bar-value">{count}</span>}
|
| 44 |
</div>
|
| 45 |
);
|
| 46 |
})}
|