Both being on similar lines Dharamshala is less crowded and you might find more of foreigners than Indians at this place. Kasol where as is semi crowded with tourists from all around. Kasol therefore is kinda more lively and happening. Hope this helped
Happy Traveling!