Bard
Bard copied to clipboard
always show IndexError: list index out of range
GooglBard version is 1.4.0
i use:
chatbot = Chatbot(token)
chatbot.ask(tempQuest)
and the token is useful
Traceback (most recent call last):
File "F:\github\chatgpts\EdgeGPT-master\src\classifyMilitaryUnits\ChatGoogleBardMilitaryUnitsSecond.py", line 187, in
and use code to fix:
try:
chat_data = json.loads(resp.content.splitlines()[3])[0][2]
except:
chat_data=""