So I found a work around with tkinter and may help others.
in my python I expose a tkinter function to open directories and choose a folder
import tkinter
import tkinter.filedialog as filedialog
@eel.expose
def selectFolder():
print("Here")
root = tkinter.Tk()
root.attributes("-topmost", True)
root.withdraw()
directory_path = filedialog.askdirectory()
print(directory_path)
in my HTML
<button class="items" onclick="select()">Choose folder</button>
in my JS I am just calling selectFolder() function from python.
function select(){
eel.selectFolder();
}