Man Up, and tell your client what happened.

Work with your client on a way to resolve this. More time for you to finish it up, or get some one else to wrap up the project. You are on the hook for this.....

Anything else is a waste of energy and resource.

Work with your client, immedately and spend your time making it right for your client, or that may be your last client...

Ken