jason-ai-twin / Logic.py
jlind456's picture
Initial upload of Qwen AI twin weights
9507c73 verified
Raw History Blame Contribute Delete
380 Bytes
import urequests
import ujson
def send_memory_to_emily(filename, content):
url = "http://192.168.0.32:5000/save_memory"
payload = {"filename": filename, "content": content}
headers = {'Content-Type': 'application/json'}
response = urequests.post(url, data=ujson.dumps(payload), headers=headers)
print("Memory saved:", response.text)
response.close()