I’m not sure I understand the question correctly, but based on the code I would guess that the labels are defined in one_hot_labels and passed to the generator in:
        noise_and_labels = combine_vectors(fake_noise, one_hot_labels)
        fake = gen(noise_and_labels)

so I would guess you can manipulate the classes beforehand?