Open mmani648 opened 2 years ago
Can you please provide a snippet of your code, too?
def send():
time.sleep(5)
cv2.imwrite(filename='cctv.jpg', img=frame)
skylink = clien.upload_file('cctv.jpg')
limb = "https://siasky.net"+skylink.strip("sia:")
message = client.messages.create(
body=f"person detected confidence is {conf}",
media_url=limb,
from_='whatsapp:+#####',
to='whatsapp:+#####'
)
t1 = threading.Thread(target=send)
if label ==['person']:
t1.start()
We've been having some issues with our servers that could be causing this. Can you please try again or try uploading to e.g. https://siasky.xyz
?
Also: the error message should be improved on our end -- but we're not really actively working on this SDK right now. I'll leave the issue open though.