Blankpage renders with panel serve

I decided to try out panel and it seems with the simplest example I have hit a sang. When I run the code below from the CLI with panel serve I get blank screen.

import panel as pn
    # H1

When I add .show and end of the Markdown method and run it with python it seems to work. I pour over the documentation a few time but I could not find the issue.

Would appreciate your help.

1 Like

Hi @sag

You would need to add .servable() when you run it via panel serve.

1 Like

@Marc thanks for the reply. This worked on Mac machine but not on Windows. Perhaps the package is corrupted and will try again with a fresh install on a clean environment.

Btw great job with the your awesome-panel and awesome-streamlit efforts!

1 Like