Capability of using the normalizing flows for extraction rare gamma events in the TAIGA experiment