India's Nifty index closed slightly higher on Wednesday as broader markets showed weakness. Analysts cautioned that the sentiment remains subdued due to rupee depreciation, elevated crude oil prices, and rising US Treasury yields.