While the market may not be ideal for getting the price you hope for, who knows what the future will be. Two years, probably won’t change the market that dramatically – 10 is a different story. But, if priced correctly and put on the market, your property will probably sell quickly and it needn’t be a further consideration in your life.
If you lease, will the rental market bare a price that allows you to cover your mortgage? And if so, you still need to think about taxes, maintenance and maybe, HOAs.
Again, what makes sense for you today and in the long run.