Zenaight commited on
Commit
a35eeff
·
verified ·
1 Parent(s): b78b80a

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -28,6 +28,8 @@ async def forward_to_rumas(b64_str: str):
28
  print(f"[RUMAS] ➜ sending image ({len(b64_str)} bytes) "
29
  f"preview='{short}…'")
30
 
 
 
31
  async with httpx.AsyncClient(timeout=60) as client:
32
  resp = await client.post(RUMAS_API_URL, json=payload)
33
  resp.raise_for_status()
 
28
  print(f"[RUMAS] ➜ sending image ({len(b64_str)} bytes) "
29
  f"preview='{short}…'")
30
 
31
+ print("Payload to RUMAS:", json.dumps(payload)[:300], "…")
32
+
33
  async with httpx.AsyncClient(timeout=60) as client:
34
  resp = await client.post(RUMAS_API_URL, json=payload)
35
  resp.raise_for_status()