No, you cannot use an electric pressure cooker if the electricity is out, even if the gas stove still works. Electric pressure cookers rely on electricity to power the heating element and control the cooking process. Without electricity, the pressure cooker will not function properly, and you won't be able to cook with it.
Electric pressure cookers use the electric heating element to generate heat and increase the pressure inside the pot, which helps in cooking food quickly and efficiently. Gas stoves, on the other hand, use a gas flame to provide heat for cooking.
If you have a gas stove and want to cook during a power outage, you'll need to use traditional pots and pans that are compatible with gas stoves. You can still cook many meals using your gas stove as long as you have access to gas supply, but you won't be able to use an electric pressure cooker until the electricity is restored.