The vote follows a military coup that overthrew the Bongo family, which ruled the central African nation from 1967 to 2023.