terry3041 / pyChatGPT

An unofficial Python wrapper for OpenAI's ChatGPT API
GNU General Public License v3.0
1.35k stars 252 forks source link

AttributeError: 'ChatGPT' object has no attribute 'close' #60

Closed iaston closed 1 year ago

iaston commented 1 year ago

image

pyChatGPT Version: 0.3.9.6

mancunian1792 commented 1 year ago

You need to get the driver object and then call the close method. api1.driver.close() should work.

terry3041 commented 1 year ago

Yeah I just removed the close() method in the latest commit. Closing the python script normally should handle that.