diff --git a/pvnet_app/app.py b/pvnet_app/app.py index 068b7cc..871be64 100644 --- a/pvnet_app/app.py +++ b/pvnet_app/app.py @@ -78,7 +78,9 @@ # Huggingfacehub model repo and commit for PVNet (GSP-level model) "pvnet": { "name": "openclimatefix/pvnet_uk_region", - "version": "62e5e20ab793cee7cf94eadac870d2199501a730", + "version": os.getenv('PVNET_V2_VERSION', "62e5e20ab793cee7cf94eadac870d2199501a730"), + # We should only set PVNET_V2_VERSION in a short term solution, + # as its difficult to track which model is being used }, # 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