mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
chore: format
This commit is contained in:
parent
d0e89a0318
commit
647aa1966f
1 changed files with 1 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue