diff --git a/backend/config.py b/backend/config.py index 2fcc0ba64..9a189c685 100644 --- a/backend/config.py +++ b/backend/config.py @@ -766,6 +766,7 @@ class BannerModel(BaseModel): dismissible: bool timestamp: int + try: banners = json.loads(os.environ.get("WEBUI_BANNERS", "[]")) banners = [BannerModel(**banner) for banner in banners]