Example of Dash Bio Pileup with BAM file

I am trying to use the Pileup component of Dash Bio. The examples all show how to use a JSON alignment file.

Can someone provide an example of how to load a local BAM file instead?

Thanks!