theAbdoSabbagh / UnlimitedGPT

An unofficial Python wrapper for OpenAI's ChatGPT API
https://pypi.org/project/UnlimitedGPT/
GNU General Public License v3.0
346 stars 43 forks source link

[BUG] self._chrome_args is nonetype (not iterable) #26

Closed maxPrakken closed 1 year ago

maxPrakken commented 1 year ago

I made a python file and put in the initialization code from the README :

from UnlimitedGPT import ChatGPT

session_token = "MYTOKEN"
conversation_id = "YOUR_CONVERSATION_ID"

chatbot = ChatGPT(
    session_token, 
    conversation_id=None,
    proxy=None,
    chrome_args=None,
    disable_moderation=False,
    verbose=False,
)

when i compile this is spits out that _chrome_args is not iterable. This happends on line 155 of UnlimitedGPT.py in the _init_browser(self) function

Laranjo1 commented 1 year ago

mov the none for ""

theAbdoSabbagh commented 1 year ago

chrome_args cannot be None or anything besides a list. It can be an empty list if you want though.