From 04f01190d11d698a9b331d7f1c1693e991924c42 Mon Sep 17 00:00:00 2001 From: Luis Arias Date: Tue, 14 May 2024 08:48:30 +0200 Subject: [PATCH] Tweak section title --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a24d434..660c127 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. \ No newline at end of file