But that doesn’t really preclude it from being perceived as a flat, round circle rather than a sphere that’s rotating.
ETA: nitpicky annoyance - “round” is not the appropriate word to use in this discussion, since circles are round. The OP is asking about when people knew that the Earth was (roughly) spherical.