Spaces:
Sleeping
Sleeping
Update src/main.py
Browse files- src/main.py +2 -2
src/main.py
CHANGED
|
@@ -39,10 +39,10 @@ async def post_webhook(
|
|
| 39 |
and payload.repo.type == "dataset"
|
| 40 |
):
|
| 41 |
# no-op
|
| 42 |
-
|
| 43 |
return {"processed": False}
|
| 44 |
|
| 45 |
-
|
| 46 |
task_queue.add_task(
|
| 47 |
schedule_retrain,
|
| 48 |
payload
|
|
|
|
| 39 |
and payload.repo.type == "dataset"
|
| 40 |
):
|
| 41 |
# no-op
|
| 42 |
+
print("xxx: skip this message...")
|
| 43 |
return {"processed": False}
|
| 44 |
|
| 45 |
+
print("xxx: handle this message...")
|
| 46 |
task_queue.add_task(
|
| 47 |
schedule_retrain,
|
| 48 |
payload
|