mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
chore: format
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user