Py.Cafe

maartenbreddels/

dash-image-test

Dash Image Loader

DocsPricing
  • app.py
  • requirements.txt
app.py
1
2
3
4
5
6
7
# check out https://dash.plotly.com/ for documentation
# And check out https://py.cafe/maartenbreddels for more examples
from dash import Dash, Input, Output, callback, dcc, html, get_asset_url

app = Dash(__name__, assets_folder=".")
app.layout = [html.Img(src=get_asset_url("isolated_bee.png"))]
# app.layout = [html.Img(src="/_app/isolated_bee.png")]