a-guarino commited on
Commit
6cdbae5
·
1 Parent(s): c1d6bf9

Modified App to post ls results in discussion

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ async def handle_webhook(request: Request):
56
 
57
  # Check for "Benchmark" in the message
58
  message = payload.get("comment", {}).get("content", "")
59
- if "Benchmark" in message:
60
  # Extract repo and discussion info from payload
61
  repo_id = payload.get("repo", {}).get("name", "gbahlnxp/mobilenetv1")
62
  if not repo_id:
 
56
 
57
  # Check for "Benchmark" in the message
58
  message = payload.get("comment", {}).get("content", "")
59
+ if "an automatic model conversion and evaluation has been performed and suceeded" in message:
60
  # Extract repo and discussion info from payload
61
  repo_id = payload.get("repo", {}).get("name", "gbahlnxp/mobilenetv1")
62
  if not repo_id: