Texan currently living in SF here. You'd be hard-pressed to convince me that Austin or any other major city in Texas is dirtier or grungier than SF[1]. I've gotten used to it now, but SF really is an amazingly dirty place. Going back to San Antonio or Austin is literally a breath of fresh air compared to here.
[1] You said Bay Area, but lets at least try to compare apples to apples.