8. Seducing or soliciting for purpose of prostitution.
Whoever, in any public place or within sight of, and in such manner as to be seen or heard from, any public place, whether from within any building or house or not:
(a) By words, gestures, willful exposure of her person (whether by sitting by a window or on the balcony of a building or house or in any other way), or otherwise tempts or endeavour to tempt, or attracts or endeavour to attract the attention of, any person for the purpose of prostitution; or
(b) Solicits or molests any person, or loiters, or acts in such manner as to cause obstruction or annoyance to persons residing nearby or passing by such public place or to offend against public decency, for the purpose of prostitution,
Shall be punishable on first conviction with imprisonment for a term which may extend to six months, or with fine which may extend to five hundred rupees, or with both, and in the event of a second or subsequent conviction, with imprisonment for a term which may extend to one year, and also with fine which may extend to five hundred rupees:
Provided that where an offence under this Section is committed by a man he shall be punishable with imprisonment for a period of not less than seven days but which may extend to three months.