0

I have created a dashboard using panel, a python package. When running off my local machine for deploying, I was using .show() and this renders my app perfectly (see below screenshot)

https://discourse.holoviz.org/uploads/default/optimized/2X/3/3746d9defa64447d8eef10f4cd204a61b7d4c76c_2_690x349.png

However, I followed the deployment steps for heroku, I removed .show() and replaced it with .servable() and the app successfully builds, but for some reason, the dashboard is completely different. It seems to renders at least part of the template but ignores all content and I have no idea why, literally the only change is from the show to servable.

Does anyone have any idea how to fix this? I feel like I’ve tried every single variation of deployment I can find, adjusting the Procfile, moving .servable() on the end of the template = pn… call, nothing is working

code for the deployed app is here, I would post the embedded code but as it is quite long, I thought a post would be best. Deployment code at the bottom. https://github.com/benjcowley/stopwatch-deploy/blob/master/deploy.py Thank you in advance, any help would be fantastic.

Ben Cowley
  • 49
  • 10

0 Answers0