Accepted the invite but can't go there due to medical issue

Hey I have accepted the invite for interview but I will be not able to travel due to some of my medical condition so can I attend the interview virtually