Skip to content
This repository was archived by the owner on Aug 10, 2023. It is now read-only.
This repository was archived by the owner on Aug 10, 2023. It is now read-only.

Error with the example python code from the readme #77

@DomiNike111

Description

@DomiNike111

The code:
from os import environ
from Bard import Chatbot

Secure_1PSID =
Secure_1PSIDTS =

chatbot = Chatbot(Secure_1PSID, Secure_1PSIDTS)

chatbot.ask("Hello, how are you?")

The error:
PS C:\Users\me\Documents\vspy\revgooglebard> & C:/Users/me/AppData/Local/Programs/Python/Python39/python.exe c:/Users/me/Documents/vspy/revgooglebard/main.py
Traceback (most recent call last):
File "c:\Users\me\revgooglebard\main.py", line 7, in
chatbot = Chatbot(Secure_1PSID, Secure_1PSIDTS)
File "C:\Users\me\AppData\Local\Programs\Python\Python39\lib\site-packages\Bard.py", line 64, in init
self.async_chatbot = self.loop.run_until_complete(
File "C:\Users\me\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 647, in run_until_complete
return future.result()
File "C:\Users\me\AppData\Local\Programs\Python\Python39\lib\site-packages\Bard.py", line 155, in create
instance.SNlM0e = await instance.__get_snlm0e()
File "C:\Users\me\AppData\Local\Programs\Python\Python39\lib\site-packages\Bard.py", line 230, in __get_snlm0e
resp = await self.session.get(
TypeError: get() got an unexpected keyword argument 'follow_redirects'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions