Including a js file with Streamlit


I am tring to use the p5.js graphical library ( to draw an interact with a chessboard (basically, i will have the game logic and the AI running in python, with streamlit + p5.js as an interface)

Problem is, when I use streamlit.components.v1.html, and in the html code given I include a js file (using <script src="/sketch.js">) when executed the file in not included (“unable to load file”)

Any ideas regarding my problem ?