Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API doesn't work #30

Open
AI-Armless opened this issue Oct 12, 2023 · 5 comments
Open

API doesn't work #30

AI-Armless opened this issue Oct 12, 2023 · 5 comments

Comments

@AI-Armless
Copy link

Hi,
I encountered an error again after your update. Could you please fix it?

raise TypeError(f'the JSON object must be str, bytes or bytearray, '

TypeError: the JSON object must be str, bytes or bytearray, not Response

@nathanrchn
Copy link
Owner

Are you using a proxy or running your script on google colab or something in the cloud?

@AI-Armless
Copy link
Author

I run it from home without a proxy, the same thing happens on my server.

@nathanrchn
Copy link
Owner

Ok but are you using the Labs or the Perplexity search API ?

@AI-Armless
Copy link
Author

Perplexity search API

@SilviaBerardelli
Copy link

Still not working for me, neither on Colab or on PyCharm. Any idea on how to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants