'NoneType' object has no attribute 'group'
File "C:\Users\Administrator\Desktop\python projects\python yt_video auto\image_scrape.py", line 13, in chatgpt
resp = api.send_message(prompt)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\Desktop\python projects\python yt_video auto\image_scrape.py", line 57, in
print(chatgpt("hi"))
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'
This can be fixed by removing the .group() in the 460th line of pychatgpt issue of this step is that we not get conversation id EG:
{'message': 'Hello! How can I assist you today?\n\n', 'conversation_id': None}
'NoneType' object has no attribute 'group' File "C:\Users\Administrator\Desktop\python projects\python yt_video auto\image_scrape.py", line 13, in chatgpt resp = api.send_message(prompt) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\Desktop\python projects\python yt_video auto\image_scrape.py", line 57, in
print(chatgpt("hi"))
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'
This can be fixed by removing the .group() in the 460th line of pychatgpt issue of this step is that we not get conversation id EG: {'message': 'Hello! How can I assist you today?\n\n', 'conversation_id': None}