Dharamshala or Kasol in October?

I am planning to travel to either Dharamshala or Kasol next month? Which one would be a better option considering the crowd and also for trekking? What are the tourist attractions for each of the places?