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
JSONDecodeError Traceback (most recent call last) in <cell line: 3>()
1 from perplexity import Perplexity
2
----> 3 perplexity = Perplexity()
4 answer = perplexity.search("how does solar energy work?")
5 for a in answer:
4 frames /usr/lib/python3.10/json/decoder.py in raw_decode(self, s, idx)
353 obj, end = self.scan_once(s, idx)
354 except StopIteration as err:
--> 355 raise JSONDecodeError("Expecting value", s, err.value) from None
356 return obj, end
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered:
JSONDecodeError Traceback (most recent call last)
in <cell line: 3>()
1 from perplexity import Perplexity
2
----> 3 perplexity = Perplexity()
4 answer = perplexity.search("how does solar energy work?")
5 for a in answer:
4 frames
/usr/lib/python3.10/json/decoder.py in raw_decode(self, s, idx)
353 obj, end = self.scan_once(s, idx)
354 except StopIteration as err:
--> 355 raise JSONDecodeError("Expecting value", s, err.value) from None
356 return obj, end
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: