Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
misc improvements
Browse files- remove natalia from datasets, was too noisy
- added sleeps to stay within slack ratelimits
- remove mentions per message (too noisy - we can instead ping once for the thread, and allow them to get notified for thread messages)
app.py
CHANGED
@@ -49,7 +49,6 @@ TRIGGERS = {
|
|
49 |
("argilla",): "<@U076B8C7G3E>", # david berenstein
|
50 |
("distilabel",): "<@U076B8C7G3E>", # david berenstein
|
51 |
("argilla",): "<@U0766H30T7F>", # natalia elvira
|
52 |
-
("dataset",): "<@U0766H30T7F>", # natalia elvira
|
53 |
("docs",): "<@U02DATT4C5B>", # steven liu
|
54 |
("documentation",): "<@U02DATT4C5B>", # steven liu
|
55 |
("gradio",): "<@U02NMK75F1V>", # abubakar abid
|
@@ -263,7 +262,7 @@ def send_daily_pings():
|
|
263 |
for ping in pings:
|
264 |
slack_client.chat_postMessage(
|
265 |
channel=SLACK_CHANNEL_ID,
|
266 |
-
text=f"
|
267 |
thread_ts=main_ts,
|
268 |
unfurl_links=False,
|
269 |
unfurl_media=False
|
|
|
49 |
("argilla",): "<@U076B8C7G3E>", # david berenstein
|
50 |
("distilabel",): "<@U076B8C7G3E>", # david berenstein
|
51 |
("argilla",): "<@U0766H30T7F>", # natalia elvira
|
|
|
52 |
("docs",): "<@U02DATT4C5B>", # steven liu
|
53 |
("documentation",): "<@U02DATT4C5B>", # steven liu
|
54 |
("gradio",): "<@U02NMK75F1V>", # abubakar abid
|
|
|
262 |
for ping in pings:
|
263 |
slack_client.chat_postMessage(
|
264 |
channel=SLACK_CHANNEL_ID,
|
265 |
+
text=f"(for the keyword -> '{ping['trigger']}')\nFrom {ping['author']} in channel #{ping['channel']}: {ping['content']}\n{ping['url']}",
|
266 |
thread_ts=main_ts,
|
267 |
unfurl_links=False,
|
268 |
unfurl_media=False
|