Real time fire and smoke detection using vision transformers and spatiotemporal learning | Synapse