How do I get my Panel App deployed on Hugging Face

I saw the Mercury Hugging Face Deployment Guide. So I figured it should also be possible to deploy Panel to Hugging Face.

I’m almost there. I just cannot get the web socket connection working

panel serve --index panel_app --port 7860 --address --allow-websocket-origin '*:7860' --log-level debug

Does it redirect the web socket request to


The above is based on commit 4de696892485be6b07b6a392765c2ca742ffa2f0

I will continue investigating.