diff --git a/pvnet_app/app.py b/pvnet_app/app.py index 6dde2b2..c1bf285 100644 --- a/pvnet_app/app.py +++ b/pvnet_app/app.py @@ -69,7 +69,7 @@ # Huggingfacehub model repo and commit for PVNet (GSP-level model) "pvnet": { "name": "openclimatefix/pvnet_uk_region", - "version": "849f19b0c774a1a3fe10e20f901e225131f5645b", + "version": "9989666ae3792a576dbc16872e152985c950a42e", }, # Huggingfacehub model repo and commit for PVNet summation (GSP sum to national model) # If summation_model_name is set to None, a simple sum is computed instead @@ -86,10 +86,10 @@ }, # Extra models which will be run on dev only - "pvnet_v2-sat60min-v8-batches": { + "pvnet_v2-sat0min-v8-batches": { "pvnet": { "name": "openclimatefix/pvnet_uk_region", - "version": "9989666ae3792a576dbc16872e152985c950a42e", + "version": "849f19b0c774a1a3fe10e20f901e225131f5645b", }, "summation": { "name": "openclimatefix/pvnet_v2_summation", @@ -99,6 +99,7 @@ "save_gsp_sum": False, "verbose": False, }, + } # Remove extra models if not configured to run them diff --git a/pvnet_app/utils.py b/pvnet_app/utils.py index 65b8f09..1ebc7d5 100644 --- a/pvnet_app/utils.py +++ b/pvnet_app/utils.py @@ -13,8 +13,8 @@ from nowcasting_datamodel.read.read import ( get_latest_input_data_last_updated, get_location, - get_model, ) +from nowcasting_datamodel.read.read_models import get_model from datetime import timezone, datetime diff --git a/requirements.txt b/requirements.txt index 8c70049..5b3396e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ torch[cpu]==2.2.0 PVNet-summation==0.1.4 pvnet==3.0.25 ocf_datapipes==3.3.19 -nowcasting_datamodel>=1.5.41 +nowcasting_datamodel>=1.5.42 fsspec[s3] xarray zarr