We experimentally and computationally study the flow of a quasi-two-dimensional emulsion through a constricting hopper shape. Our area fractions are above jamming such that the droplets are always in contact with one another and are in many cases highly deformed. At the lowest flow rates, the droplets often clog and thus exit the hopper via intermittent avalanches. At the highest flow rates, the droplets exit continuously. The transition between these two types of behaviors is a fairly smooth function of the mean strain rate. The avalanches are characterized by a power-law distribution of the time interval between droplets exiting the hopper, with long intervals between the avalanches. Our computational studies reproduce the experimental observations by adding a flexible compliance to the system (in other words, a finite stiffness of the sample chamber). The compliance results in continuous flow at high flow rates, and allows the system to clog at low flow rates leading to avalanches. The computational results suggest that the interplay of the flow rate and compliance controls the presence or absence of the avalanches.