The African Union has given the Sudanese government and Darfur rebels 24 hours to end fighting in the vast desert region .