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'
Upgrade your httpx version