Skip to content

Commit

Permalink
Tweak section title
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaloo committed May 14, 2024
1 parent 78562c6 commit 04f0119
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ pip install poetry

This code base uses a `.env` file at the root directory of the code base.

| Variable | Description | Default Value |
| ---------------- | ------------------------------------------------------------------- | ------------- |
| HF_TOKEN | Hugging Face API Token. You must have write access to the datasets. | N/A |
| TMDB_API_KEY | TMDB API Token. | N/A |
| TMDB_BATCH_SIZE | Number of TMDB entries to download before updating a HF dataset. | 10000 |
| TMDB_MAX_RETRIES | Maximum number of times to retry a failed TMDB API call. | 500 |
| Variable | Description | Default Value |
| --- | --- | --- |
| HF_TOKEN | Hugging Face API Token. You must have write access to the datasets. | N/A |
| TMDB_API_KEY | TMDB API Token. | N/A |
| TMDB_BATCH_SIZE | Number of TMDB entries to download before updating a HF dataset. | 10000 |
| TMDB_MAX_RETRIES | Maximum number of times to retry a failed TMDB API call. | 500 |

## Website to select a specific movie or TV show

Expand Down Expand Up @@ -137,13 +137,13 @@ The [French regional TMDB Series Dataset](https://huggingface.co/datasets/DataFo
invoke update-series-dataset
```

## CLI
## Python CLI

The CLI supports the following commands:
The Python CLI supports the following commands:

```
python -m observatoire.tmdb.movies --mode=[latest | missing]
python -m observatoire.tmdb.series --mode=[latest | missing]
```

In the `latest` mode, which is the default, these commands sync the latest records from TMDB to our datasets on Hugging Face. In the `missing` mode, they calculate which rows may be missing from the Hugging Face datasets and attempt to sync these records.
In the `latest` mode, which is the default, these commands sync the latest records from TMDB to our datasets on Hugging Face. In the `missing` mode, they calculate which rows may be missing from the Hugging Face datasets and attempt to sync these records.

0 comments on commit 04f0119

Please sign in to comment.