The "churches '' in this context refers to the community or local congregations of Christians living in each city, and not merely to the building or buildings in which they gathered for worship.
what do the seven churches in revelation represent
the community or local congregations of Christians living in each city, and not merely to the building or buildings in which they gathered for worship