Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Nov 25, 2024
1 parent becb74b commit ad5fab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/india_api/internal/inputs/indiadb/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def get_predicted_power_production_for_location(

if site.ml_model is not None:
ml_model_name = site.ml_model.model_name
log.info(f"Using ml model {site.ml_model.model_name}")
log.info(f"Using ml model {ml_model_name}")

# read actual generations
values = get_latest_forecast_values_by_site(
Expand Down Expand Up @@ -295,7 +295,7 @@ def get_site_forecast(self, site_uuid: str, email: str) -> list[internal.Predict
site = get_site_by_uuid(session=session, site_uuid=site_uuid)
if site.ml_model is not None:
ml_model_name = site.ml_model.model_name
log.info(f"Using ml model {site.ml_model.model_name}")
log.info(f"Using ml model {ml_model_name}")

if isinstance(site_uuid, str):
site_uuid = UUID(site_uuid)
Expand Down

0 comments on commit ad5fab6

Please sign in to comment.