1. I'm watching TV.

2. I'm watching the TV.
------------------------------
Which one is grammatical?

Both are grammatically correct.

1 means that you're watching a program on television.

2 means you're looking at your television.