Automatic brioche machine