Open elcarim opened 11 months ago
try
from UnlimitedGPT.UnlimitedGPT import ChatGPT
or
from UnlimitedGPT.UnlimitedGPT.UnlimitedGPT import ChatGPT
Hello, thanks for reporting this bug. Currently I'm a bit busy as I've recently enrolled at a university and I have very limited free time now. Once I'm free I'll look into this issue.
Description
cannot import name 'ChatGPT' from partially initialized module 'UnlimitedGPT'
Steps to Reproduce
run
Code used
from UnlimitedGPT import ChatGPT
session_token = "eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..MkiSj6voUalcVmdA.qG84p00faQARLs5NM3yHaQ-DCYKfRN3Af_rPurcnxJbvYme33qNReHak5......5"
chatbot = ChatGPT( session_token, conversation_id=conversation_id, proxy=None, chrome_args=None, disable_moderation=False, verbose=False, )
Error Message or Traceback
(venv) PS W:\py\UnlimitedGPT> & w:/py/UnlimitedGPT/venv/Scripts/python.exe w:/py/UnlimitedGPT/UnlimitedGPT.py Traceback (most recent call last): File "w:\py\UnlimitedGPT\UnlimitedGPT.py", line 3, in
from UnlimitedGPT import ChatGPT
File "w:\py\UnlimitedGPT\UnlimitedGPT.py", line 3, in
from UnlimitedGPT import ChatGPT
ImportError: cannot import name 'ChatGPT' from partially initialized module 'UnlimitedGPT' (most likely due to a circular import) (w:\py\Unlimit
edGPT\UnlimitedGPT.py)