Chosen Solution

The fuel just stops running from the tank to the carburetor. I replaced the line ,the filter still doing the same thing

Check the vent in the gas cap. It may not be getting air and causing it to starve out until the pressure equalizes.