ariG23498 HF Staff commited on
Commit
bb4dc58
·
verified ·
1 Parent(s): 6ad5a0b

Upload Phr00t_Qwen-Image-Edit-Rapid-AIO_0.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. Phr00t_Qwen-Image-Edit-Rapid-AIO_0.py +20 -13
Phr00t_Qwen-Image-Edit-Rapid-AIO_0.py CHANGED
@@ -1,9 +1,18 @@
1
  # /// script
2
  # requires-python = ">=3.12"
3
  # dependencies = [
 
 
 
 
 
4
  # "torch",
 
5
  # "torchvision",
6
  # "transformers",
 
 
 
7
  # "accelerate",
8
  # "peft",
9
  # "slack-sdk",
@@ -11,13 +20,12 @@
11
  # ///
12
 
13
  try:
14
- # integration status unknown.
15
-
16
- # Please clone model and use locally.
17
 
18
- # Also feel free to open a Pull request
19
- # for integration of the huggingface model hub
20
- # into the corresponding library =)
 
21
  with open('Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt', 'w', encoding='utf-8') as f:
22
  f.write('Everything was good in Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt')
23
  except Exception as e:
@@ -25,20 +33,19 @@ except Exception as e:
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/Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt|Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt>',
30
  )
31
 
32
  with open('Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt', 'a', encoding='utf-8') as f:
33
  import traceback
34
  f.write('''```CODE:
35
- # integration status unknown.
36
-
37
- # Please clone model and use locally.
38
 
39
- # Also feel free to open a Pull request
40
- # for integration of the huggingface model hub
41
- # into the corresponding library =)
42
  ```
43
 
44
  ERROR:
 
1
  # /// script
2
  # requires-python = ">=3.12"
3
  # dependencies = [
4
+ # "numpy",
5
+ # "einops",
6
+ # "pandas",
7
+ # "matplotlib",
8
+ # "protobuf",
9
  # "torch",
10
+ # "sentencepiece",
11
  # "torchvision",
12
  # "transformers",
13
+ # "timm",
14
+ # "diffusers",
15
+ # "sentence-transformers",
16
  # "accelerate",
17
  # "peft",
18
  # "slack-sdk",
 
20
  # ///
21
 
22
  try:
23
+ # No code snippets available yet for this library.
 
 
24
 
25
+ # To use this model, check the repository files and the library's documentation.
26
+
27
+ # Want to help? PRs adding snippets are welcome at:
28
+ # https://github.com/huggingface/huggingface.js
29
  with open('Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt', 'w', encoding='utf-8') as f:
30
  f.write('Everything was good in Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt')
31
  except Exception as e:
 
33
  from slack_sdk import WebClient
34
  client = WebClient(token=os.environ['SLACK_TOKEN'])
35
  client.chat_postMessage(
36
+ channel='#hub-model-metadata-snippets-sprint',
37
  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>',
38
  )
39
 
40
  with open('Phr00t_Qwen-Image-Edit-Rapid-AIO_0.txt', 'a', encoding='utf-8') as f:
41
  import traceback
42
  f.write('''```CODE:
43
+ # No code snippets available yet for this library.
44
+
45
+ # To use this model, check the repository files and the library's documentation.
46
 
47
+ # Want to help? PRs adding snippets are welcome at:
48
+ # https://github.com/huggingface/huggingface.js
 
49
  ```
50
 
51
  ERROR: