Hey Melvin,
You just need to add the following argument in the call: maxSeconds.
I usually use the following call:
model.solve(pulp.PULP_CBC_CMD(maxSeconds=1000, msg=1, fracGap=0))
which controls the maximum time (in seconds), the level of messaging (to see the progress CBC makes) and the max GAP you desire to have (another stop condition in addition to maxSeconds).
regards,
Franco