Negative reinforcement like a spray gun filled with water
Environmental punishers; cover the place she likes to sit in traps or things she doesn't like (tin foil, double sided sticky tape etc)
The first one is easy but the cat can associate the punishment with the person and grow scared of them. The second is more challenging but the cat will associate the place with bad things happening and not you.
You've got two options:
The first one is easy but the cat can associate the punishment with the person and grow scared of them. The second is more challenging but the cat will associate the place with bad things happening and not you.