Press ESC to close

how to use chatgpt api in python