Panel Data APP - GPT2 Show Case
A user of Panel asked for help creating a data app based on the GPT2 transformer and bokeh plotsNot able to update Bokeh bar plot based on button click which updates source.data - Panel - HoloViz Discourse.I took up the challenge and in an hour I had created this. I can only agree with the predictionimage1920×1080 229 KBCheck out the codeHugging Face GPT2 Transformer Example · GitHub.
2021-10-30T07:15:21Z
Does any one know if I can host the app onspaces?
2021-10-31T15:34:24Z
You can ask to join the betahereI believe!
2022-04-24T04:10:58Z
Inspired byDeploy on Hugging Face - Mercury Docs (mercury-docs.readthedocs.io)I tried to deploy a Panel app in hugging face spaces.But I cannot get it working. I cannot create the web socket connection.image1050×848 73.2 KBThe logs look like2022-04-23 21:03:54,107 400 GET /ws (172.30.0.55) 0.47ms
2022-04-23 22:18:25,800 400 GET /ws (172.30.0.55) 0.47ms
2022-04-24 02:25:40,290 400 GET /ws (172.30.0.55) 0.47ms
2022-04-24 02:25:53,151 400 GET /ws (172.30.0.55) 0.47ms
2022-04-24 02:25:57,850 400 GET /ws (172.30.0.55) 0.47ms
2022-04-24 02:27:02,606 400 GET /ws (172.30.0.55) 0.47ms
2022-04-24 02:47:30,119 400 GET /ws (172.30.0.55) 0.52ms
2022-04-24 03:34:12,633 400 GET /ws (172.30.0.55) 0.58ms
2022-04-24 03:48:38,858 400 GET /ws (172.30.0.55) 0.47msFor more details see my spaceAwesome Panel - a Hugging Face Space by MarcSkovMadsenHow do I solve this?
2022-04-24T04:24:19Z
Cross posted toHow do I get my Panel App deployed on Hugging Face - Panel - HoloViz Discourse
2022-09-17T18:40:28Z
My guess is that the issue the iframe link to the apphttps://hf.space/embed/MarcSkovMadsen/awesome-panel/+…makes the app request the web socket connection in the wrong place wss://hf.space/embed/MarcSkovMadsen/awesome-panel/+/ws?image900×343 96 KBBut I don’t know if it is the cause. And I don’t know how to fix it.Any help is really appreciated.
2022-09-17T18:46:40Z
If you are interested in helping fix the issue then check out.ResourcesSpace:MarcSkovMadsen/awesome-panelDeployed App:https://hf.space/embed/MarcSkovMadsen/awesome-panel/+
2022-11-23T07:41:49Z
Fixed and works now.Check outAwesome Panel - a Hugging Face Space by MarcSkovMadsen