INNER CODE UNIT · Python

upload_and_update_dataset_to_gcs_format

openfoodfacts/openfoodfacts-ai · category-detection/main.py:410

def upload_and_update_dataset_to_gcs_format(
    dataset_path: Annotated[
        Path,
        typer.Argument(
            ...,
            help="Path to the dataset file (JSONL format)",
            file_okay=True,
            dir_okay=False,
            exists=True,
        ),
    ],
    output_path: Annotated[
        Path,
        typer.Argument(
            ...,
            help="Path where to write the updated dataset file with GCS URI (JSONL format)",
            file_okay=True,
            dir_okay=False,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…