Here, that neighborhood qualifies as "edgy" or "funky"–not so much "dicey". You don’t have to go far for "dicey" (a block down at 16th and Mission will get you there–that corner is one of the city’s premier heroin marketplaces). But 16th and Valencia is pretty clear of actual criminals and mostly populated by 20-somethings, many of whom have embraced the "alternative" but they are harmless.
India Aroma is a completely different "hood". It’s on the Polk St. restaurant strip that sits in a valley between Pacific Heights and Nob Hill–two of the city’s best addresses as you probably know. About 8 blocks down Polk, near my actual favorite Indian place (when cost is no object), Maharani, things are also different (runaway kids selling drugs and themselves), but not on the blocks around India Aroma.
FYI, Polk is turning into another "Little Delhi" with quite a number of Indian places and even a couple Indian groceries (which also rent Bollywood flicks).