You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from prsaw import RandomStuffV2
rs = RandomStuffV2()
response = rs.get_ai_response("How are you?")
print(response)
rs.close()
Error:
Traceback (most recent call last):
File "main.py", line 8, in <module>
response = rs.get_ai_response("How are you?")
File "/home/runner/ChatBot/venv/lib/python3.8/site-packages/apiclient/core.py", line 95, in __call__
return self.sync_call(httpx_request)
File "/home/runner/ChatBot/venv/lib/python3.8/site-packages/apiclient/core.py", line 100, in sync_call
response = post_processor(response)
File "/home/runner/ChatBot/venv/lib/python3.8/site-packages/prsaw/PRSAW.py", line 115, in _post_get_image
return res[0]
KeyError: 0
And yes i am using replit.com
The text was updated successfully, but these errors were encountered:
Code:
Error:
And yes i am using replit.com
The text was updated successfully, but these errors were encountered: