'Python Eel not displaying image

I'm new to python and I was trying to create a simple app with a gui using eel. The problem I am having is even though the app starts, i cannot load local files into the gui.

I am adding the image like this: <embed src="/assets/images/rim.svg" width="500" height="500">, however when trying to load the page i get the folowing error: enter image description here

Folder should be right, Project structure:

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source