Teacher training in the age of AI: Impact on AI Literacy and Teachers' Attitudes