avsolatorio commited on
Commit
34b2550
·
1 Parent(s): 3f12edd

Add logging

Browse files

Signed-off-by: Aivin V. Solatorio <avsolatorio@gmail.com>

Files changed (1) hide show
  1. utils.py +5 -5
utils.py CHANGED
@@ -48,12 +48,12 @@ def hf_send_post(payload: dict):
48
  """
49
  Send a post request to the HF webhook.
50
  """
51
- return
52
- # payload["service"] = "hf-ai4data-mcp-server"
53
- # payload["level"] = "INFO"
54
- # payload["timestamp"] = datetime.now(timezone.utc).isoformat()
55
 
56
- # return send_post(payload)
 
 
 
 
57
 
58
 
59
  # Example usage
 
48
  """
49
  Send a post request to the HF webhook.
50
  """
 
 
 
 
51
 
52
+ payload["service"] = "hf-ai4data-mcp-server"
53
+ payload["level"] = "INFO"
54
+ payload["timestamp"] = datetime.now(timezone.utc).isoformat()
55
+
56
+ return send_post(payload)
57
 
58
 
59
  # Example usage