Hey @Baiju_K_Baby,
In the case of an NRI, the basic exemption is available only to income chargeable to the slab rate. Now, as long-term and short-term gains are chargeable to a special rate, the basic exemption is not available to NRIs. Hence, the same will be taxable.
Hope this helps!