Upload Phr00t_Qwen-Image-Edit-Rapid-AIO_0.py with huggingface_hub
Browse files
Phr00t_Qwen-Image-Edit-Rapid-AIO_0.py
CHANGED
|
@@ -26,11 +26,10 @@ except Exception as e:
|
|
| 26 |
traceback.print_exc(file=f)
|
| 27 |
|
| 28 |
from slack_sdk import WebClient
|
| 29 |
-
client = WebClient(token=os.environ[
|
| 30 |
client.chat_postMessage(
|
| 31 |
-
channel
|
| 32 |
text='Problem in <https://huggingface.co/datasets/model-metadata/code_execution_files/blob/main/Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt|Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt>',
|
| 33 |
-
thread_ts=parent_message_ts,
|
| 34 |
)
|
| 35 |
finally:
|
| 36 |
from huggingface_hub import upload_file
|
|
|
|
| 26 |
traceback.print_exc(file=f)
|
| 27 |
|
| 28 |
from slack_sdk import WebClient
|
| 29 |
+
client = WebClient(token=os.environ['SLACK_TOKEN'])
|
| 30 |
client.chat_postMessage(
|
| 31 |
+
channel='#exp-slack-alerts',
|
| 32 |
text='Problem in <https://huggingface.co/datasets/model-metadata/code_execution_files/blob/main/Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt|Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt>',
|
|
|
|
| 33 |
)
|
| 34 |
finally:
|
| 35 |
from huggingface_hub import upload_file
|