I was going to suggest that too...giving a treat each time she goes...
One thing you need to remember about yorkies...is they can backslide when it comes to potty training.......it took my girls clear until they were a YEAR before we hardly had any accidents.....notice I said hardly....it can still happen once in awhile...now it's been a very long time...and I blame their last couple of accidents on my not paying attention to them needing to go out...
Make sure when you take her out...you say POTTY constantly....so she learns why she's outside...and say it especially when she's going potty..then make sure to praise her.
So just be patient and remember they have very small bladders...and are among some of the hardest dogs to potty train. She'll get there...it just takes time and patience. Look at it this way at least you have hard floors.