2024-12-27 17:23:35.944 WARNING streamlit.config:
Warning: the config option ‘server.enableCORS=false’ is not compatible with ‘server.enableXsrfProtection=true’.
As a result, ‘server.enableCORS’ is being overridden to ‘true’.
More information:
In order to protect against CSRF attacks, we send a cookie with each request.
To do so, we must specify allowable origins, which places a restriction on
cross-origin resource sharing.
If cross origin resource sharing is required, please disable server.enableXsrfProtection.
2024-12-27 17:23:35.945 DEBUG streamlit.web.server.server: Starting server…
2024-12-27 17:23:35.946 DEBUG streamlit.web.server.server: Serving static content from the Node dev server
2024-12-27 17:23:35.947 DEBUG streamlit.web.server.server: Server started on port 8501
2024-12-27 17:23:35.949 DEBUG streamlit.runtime.runtime: Runtime state: RuntimeState.INITIAL → RuntimeState.NO_SESSIONS_CONNECTED
You can now view your Streamlit app in your browser.
Local URL: http://localhost:3000
Network URL: http://192.168.249.195:3000
2024-12-27 17:23:36.044 DEBUG streamlit.web.bootstrap: Setting up signal handler
How to fix it?