When the price level rises as a result of an output gap arises due to a positive shift in AD (positive output gap) or negative shift in SRAS (negative output gap).
The diagrams below illustrate the two main types of inflationary pressures caused by the persistence of an output gap. The left-hand side diagram represents cost push inflation and the right-hand side diagram represents demand pull inflation.