Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid URL '/login?next=%2Foauth%2Fauthorize #143

Closed
IntelligenzaArtificiale opened this issue Nov 21, 2023 · 0 comments
Closed

Invalid URL '/login?next=%2Foauth%2Fauthorize #143

IntelligenzaArtificiale opened this issue Nov 21, 2023 · 0 comments

Comments

@IntelligenzaArtificiale

From this morning i receive this error when i try to login.

try:
        from hugchat import hugchat
        from hugchat.login import Login

        sign = Login("email", "psw")
        cookies = sign.login()

        # Create a ChatBot
        chatbot = hugchat.ChatBot(cookies=cookies.get_dict())
        chatbot.switch_llm(2)
        return chatbot
except Exception as e:
        print(e)

Have huggingface changed the login endpoint ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant