A surgical procedure is described for the restoration of eyelid function in individuals suffering from ptosis or upper eyelid droop syndrome that makes a patient unable to voluntarily fully raise an eyelid. The surgical procedure includes implantation and suturing of eye drop (pH) activated and actuated fibrous contractile and expansive artificial muscles such as pH active hydrogels of polyacrylonitrile (PAN) artificial muscles that are surgically implanted and sutured under the superior palpebral conjunctiva in a serpentine parallel configuration with respect to the tarsal (meibomian) glands of the upper eyelid and anchored to the tissues of superior fornix.