Giter VIP home page Giter VIP logo

Comments (6)

isMMa avatar isMMa commented on June 15, 2024 1

I have the same error:

imagen

imagen

from talkingheads.

ishandutta2007 avatar ishandutta2007 commented on June 15, 2024

Probably it looks for prompt box assuming the login is already done, but it is not.
Even though ChatGPT_UNAME and ChatGPT_PWD that I exported is correct but
The thing is OpenAI username-password login rarely works for me, so I always chose login with google which always works. Maybe thats the issue, is there a option to enable login with google ?

from talkingheads.

ishandutta2007 avatar ishandutta2007 commented on June 15, 2024

For HuggingChat there's an additional popup which ask you to confirm . probably thats what makes the prompt box invisible.

Traceback (most recent call last):
File "index.py", line 117, in
answer = chathead.interact("Hello, how are you today")
File "/Users/ishandutta2007/.pyenv/versions/3.8.0/lib/python3.8/site-packages/talkingheads/model_library/huggingchat.py", line 85, in interact
text_area.send_keys(each_line)
File "/Users/ishandutta2007/.pyenv/versions/3.8.0/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 231, in send_keys
self._execute(
File "/Users/ishandutta2007/.pyenv/versions/3.8.0/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 395, in _execute
return self._parent.execute(command, params)
File "/Users/ishandutta2007/.pyenv/versions/3.8.0/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute
self.error_handler.check_response(response)
File "/Users/ishandutta2007/.pyenv/versions/3.8.0/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
(Session info: chrome=122.0.6261.69)

from talkingheads.

ugorsahin avatar ugorsahin commented on June 15, 2024

For HuggingChat, have you logged in the UI to accept Privacy and Terms?

For ChatGPT, it seems like you are not in the chat page but somewhere else, perhaps in robot verification page. I will take a look at that

from talkingheads.

ishandutta2007 avatar ishandutta2007 commented on June 15, 2024

@ugorsahin I use hugging chat, so I am aware of login. Just one click to accept the popup is required in case it pops up, maybe it's browser specific (I am on Brave).

I'll try to send you a pull requests when I have time. Its simpler that way than trying to explain here.

from talkingheads.

ugorsahin avatar ugorsahin commented on June 15, 2024

Hmm, that's strange. I've tried several times, but I still can't seem to encounter the popup you mentioned. Could you please send me a screenshot of the popup? Popups are frustrating, but I'm sure we'll figure out a solution.

from talkingheads.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.