Skip to content

Commit

Permalink
Updated required python version
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaloo committed May 14, 2024
1 parent be3d0e0 commit 78562c6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Prerequisites:

1. Python (≥ `3.10`) installed on your system.
1. Python 3.12.3 installed on your system.
2. Ensure you have `poetry` installed. If not, you can install them using `pip`.

```bash
Expand Down 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 @@ -146,4 +146,4 @@ 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 78562c6

Please sign in to comment.