Fix generator GUI for Python3 where validation libraries are not available