Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -70,17 +70,14 @@ def server(input: Inputs, output: Outputs, session: Session):
|
|
70 |
img_src = uploaded_image_path()
|
71 |
if img_src:
|
72 |
return ui.value_box(
|
73 |
-
title,
|
74 |
-
count,
|
75 |
{"class_": "pt-1 pb-0"},
|
76 |
showcase=ui.fill.as_fill_item(
|
77 |
ui.tags.img(
|
78 |
{"style": "object-fit:contain;"},
|
79 |
-
src=
|
80 |
)
|
81 |
),
|
82 |
theme_color=None,
|
83 |
-
style=f"background-color: {bgcol};",
|
84 |
)
|
85 |
else:
|
86 |
return "" # Return an empty string if no image is uploaded
|
|
|
70 |
img_src = uploaded_image_path()
|
71 |
if img_src:
|
72 |
return ui.value_box(
|
|
|
|
|
73 |
{"class_": "pt-1 pb-0"},
|
74 |
showcase=ui.fill.as_fill_item(
|
75 |
ui.tags.img(
|
76 |
{"style": "object-fit:contain;"},
|
77 |
+
src="penguins.png",
|
78 |
)
|
79 |
),
|
80 |
theme_color=None,
|
|
|
81 |
)
|
82 |
else:
|
83 |
return "" # Return an empty string if no image is uploaded
|