I am trying to add an image I have saved locally (in the same file as my app.py file) to the showcase parameter in the ui.value_box().
Here is a snippet of my code:
with ui.value_box(showcase= ui.img(src="plus.png", width = '50px')):
"Participating States"
@render.text
def state_count():
return len(pd.unique(filtered_df()["Full_State"]))
I did notice this in the terminal, but I am sure it is in the folder:
GET /plus.png HTTP/1.1" 404 Not Found
When I run it in VSCODE, I get the broken image icon.