diff --git a/README.md b/README.md index f3c572b..0132b38 100644 --- a/README.md +++ b/README.md @@ -96,4 +96,4 @@ graph LR [![pylint](https://github.com/kamangir/roofai/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/roofai/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/roofai/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/roofai/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/roofai/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/roofai/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/roofai.svg)](https://pypi.org/project/roofai/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/roofai)](https://pypistats.org/packages/roofai) -built by 🌀 [`blue_options-4.223.1`](https://github.com/kamangir/awesome-bash-cli), based on 🏛️ [`roofai-6.236.1`](https://github.com/kamangir/roofai). +built by 🌀 [`blue_options-4.223.1`](https://github.com/kamangir/awesome-bash-cli), based on 🏛️ [`roofai-6.238.1`](https://github.com/kamangir/roofai). diff --git a/roofai/__init__.py b/roofai/__init__.py index 4907f2f..d7ba10c 100644 --- a/roofai/__init__.py +++ b/roofai/__init__.py @@ -4,7 +4,7 @@ DESCRIPTION = f"{ICON} everything ai about roofs." -VERSION = "6.236.1" +VERSION = "6.238.1" MARQUEE = "https://github.com/kamangir/assets/blob/main/2023-10-28-16-28-36-88493-predict.gif?raw=true" diff --git a/roofai/google_maps/semseg/predict.py b/roofai/google_maps/semseg/predict.py index 204b020..7b40411 100644 --- a/roofai/google_maps/semseg/predict.py +++ b/roofai/google_maps/semseg/predict.py @@ -170,11 +170,13 @@ def predict( matrix=output_matrix, suffix=[dataset.matrix], header=objects.signature( - info=f"lat:{lat:.05f},lon:{lon:.05f}", + info="prediction", object_name=prediction_object_name, ) + ([address] if address else []) + [ + f"lat:{lat:.05f}", + f"lon:{lon:.05f}", f"model: {model_object_name}", model.signature, f"device: {device}",