Loading Florence-2 mannequin and a pattern picture After putting in and importing the required libraries (as…