gordon-posit commited on
Commit
2781e1b
·
1 Parent(s): ee73acc

Update app.py

Browse files

Update fill_item

Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -94,12 +94,11 @@ def server(input: Inputs, output: Outputs, session: Session):
94
  title,
95
  count,
96
  {"class_": "pt-1 pb-0"},
97
- showcase=x.ui.bind_fill_role(
98
  ui.tags.img(
99
  {"style": "object-fit:contain;"},
100
  src=showcase_img,
101
- ),
102
- item=True,
103
  ),
104
  theme_color=None,
105
  style=f"background-color: {bgcol};",
 
94
  title,
95
  count,
96
  {"class_": "pt-1 pb-0"},
97
+ showcase=x.ui.as_fill_item(
98
  ui.tags.img(
99
  {"style": "object-fit:contain;"},
100
  src=showcase_img,
101
+ )
 
102
  ),
103
  theme_color=None,
104
  style=f"background-color: {bgcol};",