HARRISBURG, Pa. (AP) — Coronavirus-related crowd restrictions for both indoor and outdoor events were loosened Tuesday by Pennsylvania Gov. Tom Wolf, who called the shift “a gradual adjustment to our lives as we learn how we can do things safely” until there’s a vaccine for the virus or cure for the disease. The Democratic governor’s new limits employ a sliding scale, linked to the size of the crowd, to determine capacity.

The rules, which go into effect on Friday, will replace limits of 25 people indoors and 250 outdoors, allowing much larger crowds at a range of events, including school sports.

“Pennsylvanians must continue to social distance and wear masks as we prepare to fight the virus through the fall and winter,” Wolf said in a statement. “Regardless of the size of an event or gathering, those things are still imperative to stopping the spread of COVID. We know everyone has sacrificed in many ways and today’s announcement reflects a gradual adjustment to our lives as we learn how we can do things safely until we have a cure, or an effective vaccine is widely available.”

The state health secretary, Dr. Rachel Levine, cautioned that the changes may not be permanent.

“If our case investigation and contact tracing efforts determine that events or gatherings are the source of an outbreak, we can and will dial back these new limits,” Levine said in a release.

Wolf and Levine said the changes apply to temporary groups of people meeting over a limited time period, including fairs, festivals, concerts and shows, as well as larger and more permanent events such as performances at amusement parks, movies, business meetings and conferences.

For indoor events where the venue can hold up to 2,000 people, the limit will be 20% of the maximum capacity. For larger venues — with capacities up to 10,000 — that percentage is lowered to 15%. For the largest sites, holding more than 10,000, the limit is 10% of capacity. No venue will be allowed to hold more than 3,750 people.

Outdoor events use the same three categories, allowing up to 25% for sites that can hold up to 2,000 people, up to 20% of capacity for 2,001-10,000 venues and 15% with a cap of 7,500 where more than 10,000 people would otherwise be able to fit.

Capacity is determined by a venue’s established occupancy limit as defined by the National Fire Protection Association’s life safety code.

Wolf’s limits of 25 indoors and 250 outdoors were thrown out by a western Pennsylvania federal judge, but on Oct. 1 the 3rd U.S. Circuit Court of Appeals reinstated the governor’s limits while that decision is appealed.

The Wolf administration’s guidance says it does not apply to groups that share a space within an office building, classrooms, production floors or other “regularly occurring operation of a business or organization.”

(© Copyright 2020 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)