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 panel_app.py --index panel_app --port 7860 --address 0.0.0.0 --allow-websocket-origin '*:7860' --log-level debug

Does it redirect the web socket request to 172.30.0.55?

Resources

The above is based on commit 4de696892485be6b07b6a392765c2ca742ffa2f0

I will continue investigating.

1 Like

Any one knows?

The ability to deploy Panel apps on hugging faces would be such a benefit for the community.