Have you got the fuel pump of your GLi checked?
I think it's the issue of the fuel pump but I'm not sure though. Call Indus Motors or your nearest 3S Dealership to check that whether your GLi's Chassis falls in the category of Free Fuel Pump replacement launched by Toyota Indus Motors. If yes, then book an appointment with them and go get it changed for Free.