Spaces:
Runtime error
Deploy a Panel app to Hugging Face using Docker
Hi all,
I have recently come across Hugging Face through this link below
https://towardsdatascience.com/how-to-deploy-a-panel-app-to-hugging-face-using-docker-6189e3789718
So far I was able to repeat the steps as shown, however I do not understand why my output is empty once I got the App up and running.
This is the link to the app I built with dockers:
https://huggingface.co/spaces/DMF194/panel_example
I expect the output to look like in the link below:
https://huggingface.co/spaces/sophiamyang/panel_example
Build Log
===== Build Queued at 2023-02-13 08:59:53 / Commit SHA: 340e9f9 =====
--> FROM docker.io/library/python:3.9@sha256:6f859d00a885892c341af52acc035654404f863ae41121ac42027d18dec5a86c
DONE 0.0s
--> COPY ./requirements.txt /code/requirements.txt
CACHED
--> WORKDIR /code
CACHED
--> RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
DONE 8.4s
--> COPY . .
DONE 4.5s
--> Pushing image
DONE 0.7s
--> Exporting cache
DONE 0.3s
===== Application Startup at 2023-02-13 09:00:15 =====
2023-02-13 09:00:21,028 Starting Bokeh server version 2.4.3 (running on Tornado 6.2)
2023-02-13 09:00:21,029 User authentication hooks NOT provided (default user enabled)
2023-02-13 09:00:21,031 Bokeh app running at: http://0.0.0.0:7860/app
2023-02-13 09:00:21,031 Starting Bokeh server with process id: 1
App
Files and versions
Community
Settings
Container log
2023-02-13 09:00:21,028 Starting Bokeh server version 2.4.3 (running on Tornado 6.2)
2023-02-13 09:00:21,029 User authentication hooks NOT provided (default user enabled)
2023-02-13 09:00:21,031 Bokeh app running at: http://0.0.0.0:7860/app
2023-02-13 09:00:21,031 Starting Bokeh server with process id: 1
2023-02-13 09:03:12,541 W-1005 (FIXED_SIZING_MODE): 'fixed' sizing mode requires width and height to be set: Row(id='1008', ...)
2023-02-13 09:03:15,176 Refusing websocket connection from Origin 'https://dmf194-panel-example.hf.space'; use --allow-websocket-origin=dmf194-panel-example.hf.space or set BOKEH_ALLOW_WS_ORIGIN=dmf194-panel-example.hf.space to permit this; currently we allow origins {'DMF194-panel-example.hf.space:80', '0.0.0.0:7860'}
2023-02-13 09:03:15,176 403 GET /app/ws (10.16.1.64) 0.67ms
2023-02-13 09:20:46,547 W-1005 (FIXED_SIZING_MODE): 'fixed' sizing mode requires width and height to be set: Row(id='1301', ...)
2023-02-13 09:20:49,176 Refusing websocket connection from Origin 'https://dmf194-panel-example.hf.space'; use --allow-websocket-origin=dmf194-panel-example.hf.space or set BOKEH_ALLOW_WS_ORIGIN=dmf194-panel-example.hf.space to permit this; currently we allow origins {'DMF194-panel-example.hf.space:80', '0.0.0.0:7860'}
2023-02-13 09:20:49,176 403 GET /app/ws (10.16.38.120) 0.69ms
2023-02-13 09:27:59,290 W-1005 (FIXED_SIZING_MODE): 'fixed' sizing mode requires width and height to be set: Row(id='1594', ...)
2023-02-13 09:28:02,065 Refusing websocket connection from Origin 'https://dmf194-panel-example.hf.space'; use --allow-websocket-origin=dmf194-panel-example.hf.space or set BOKEH_ALLOW_WS_ORIGIN=dmf194-panel-example.hf.space to permit this; currently we allow origins {'DMF194-panel-example.hf.space:80', '0.0.0.0:7860'}
2023-02-13 09:28:02,066 403 GET /app/ws (10.16.38.120) 0.58ms
Can anyone help