Please change the sentence to remove any grammatical flaws:
I have had a hobby, which is reading in public library in my spare time.
I have had a hobby, which is reading in the public library in my spare time.