Spaces:
Runtime error
Runtime error
Update perplexity.py
Browse files- perplexity.py +1 -0
perplexity.py
CHANGED
|
@@ -78,6 +78,7 @@ class Perplexity:
|
|
| 78 |
return format(getrandbits(32), "08x")
|
| 79 |
|
| 80 |
def _get_sid(self) -> str:
|
|
|
|
| 81 |
st.write(self.session.get(url=f"https://www.perplexity.ai/socket.io/?EIO=4&transport=polling&t={self.t}").text)
|
| 82 |
return loads(self.session.get(
|
| 83 |
url=f"https://www.perplexity.ai/socket.io/?EIO=4&transport=polling&t={self.t}"
|
|
|
|
| 78 |
return format(getrandbits(32), "08x")
|
| 79 |
|
| 80 |
def _get_sid(self) -> str:
|
| 81 |
+
st.write(self.session.get(url=f"https://www.perplexity.ai/socket.io/?EIO=4&transport=polling&t={self.t}"))
|
| 82 |
st.write(self.session.get(url=f"https://www.perplexity.ai/socket.io/?EIO=4&transport=polling&t={self.t}").text)
|
| 83 |
return loads(self.session.get(
|
| 84 |
url=f"https://www.perplexity.ai/socket.io/?EIO=4&transport=polling&t={self.t}"
|