ariG23498 HF Staff commited on
Commit
4ddc031
·
verified ·
1 Parent(s): cba2019

Upload datalab-to_chandra_0.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. datalab-to_chandra_0.py +2 -3
datalab-to_chandra_0.py CHANGED
@@ -23,11 +23,10 @@ except Exception as e:
23
  traceback.print_exc(file=f)
24
 
25
  from slack_sdk import WebClient
26
- client = WebClient(token=os.environ["SLACK_TOKEN"])
27
  client.chat_postMessage(
28
- channel=#exp-slack-alerts,
29
  text='Problem in <https://huggingface.co/datasets/model-metadata/code_execution_files/blob/main/datalab-to_chandra_0.txt|datalab-to_chandra_0.txt>',
30
- thread_ts=parent_message_ts,
31
  )
32
  finally:
33
  from huggingface_hub import upload_file
 
23
  traceback.print_exc(file=f)
24
 
25
  from slack_sdk import WebClient
26
+ client = WebClient(token=os.environ['SLACK_TOKEN'])
27
  client.chat_postMessage(
28
+ channel='#exp-slack-alerts',
29
  text='Problem in <https://huggingface.co/datasets/model-metadata/code_execution_files/blob/main/datalab-to_chandra_0.txt|datalab-to_chandra_0.txt>',
 
30
  )
31
  finally:
32
  from huggingface_hub import upload_file