Cornish signed on loan from National League North side Blyth Spartans, and has made eight appearances since signing in February, scoring two goals.
His last goal was a late winner against Nantwich Town.
Meanwhile, Pye signed on loan from League One side Sunderland in February. He has made five appearances for the Highwaymen so far.
Both will hope to be in the side for Saturday's match against Stafford Rangers.
Keep up-to-date with our exclusive email newsletters.
Subscribe