CO2 level readout Adafruit ccs811 CO2 sensor gradually increases.

Did you "burn in" the sensor by running it for 48 hours before use, as instructed?

From the Adafruit product page:

Please note, this sensor, like all VOC/gas sensors, has variability and to get precise measurements you will want to calibrate it against known sources!
...
AMS recommends that you run this sensor for 48 hours when you first receive it to "burn it in", and then 20 minutes in the desired mode every time the sensor is in use. This is because the sensitivity levels of the sensor will change during early use.