I got the same issue, but I have used Claude AI to convert the *.ui file entirely into py file so I don't have worry about loading the ui file. Try using the same method u would be good to go.