or_inputs (List, optional) —
The list of tensor inputs for the callback_on_step_end function. The tensors specified in the list
will be passed as callback_kwargs argument. You will only be able to include variables listed in the
._callback_tensor_inputs attribute of your pipeline class.   Returns 
ImagePipelineOutput or tuple
    Function invoked when calling the pipeline for generation.  Examples:   Copied from diffusers import AutoPipelineFor