Skip to content

Commit

Permalink
default image
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoLostanlen committed Apr 10, 2024
1 parent a2be40a commit 2fdf51f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion app/pages/homepage.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ def homepage_layout(user_headers, user_credentials):
id="image-container-with-bbox",
style={"position": "relative"}, # Ensure this container is relatively positioned
children=[
html.Div(id="image-container"), # This will contain the image
html.Div(
id="image-container",
children=[
html.Img(
src="https://pyronear.org/img/logo_letters_orange.png",
style={"max-width": "100%", "height": "auto"},
)
], # Adjust the style as needed
), # This will contain the image
html.Div(
id="bbox-container", style={"display": "block"}
), # This will contain the bounding box
Expand Down

0 comments on commit 2fdf51f

Please sign in to comment.