They are probably fruit flies. When I picked the plant up after the treatment, I found many dead flies in the dish under the plant.
I tried apple cider vinegar & drops of detergent. This killed a lot of gnats. I could see them in the drip dish. However, I hope it doesn't...