dinhanhx commited on
Commit
58f13d7
1 Parent(s): dfff032
Files changed (5) hide show
  1. .gitattributes +2 -0
  2. examples/cat.png +3 -0
  3. requirements.txt +5 -0
  4. ruff.toml +8 -0
  5. setup_linux_cpu.sh +2 -0
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.torch filter=lfs diff=lfs merge=lfs -text
37
+ *.png filter=lfs diff=lfs merge=lfs -text
examples/cat.png ADDED

Git LFS Details

  • SHA256: 8120033320f8e5868f7fd4b94879fa56031c47d7cfc66e6b1ca82888b35f6499
  • Pointer size: 132 Bytes
  • Size of remote file: 4.65 MB
requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ torch
2
+ einops
3
+ transformers[torch]
4
+ huggingface_hub
5
+ pillow
ruff.toml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ line-length = 120
2
+ # Read more here https://beta.ruff.rs/docs/rules/
3
+ # By default, Ruff enables Flake8's E and F rules
4
+ # Pyflakes - F, pycodestyle - E, W
5
+ # flake8-builtins - A
6
+ # Pylint - PLC, PLE, PLW
7
+ # isort - I
8
+ select = ['E', 'F', 'W', 'A', 'PLC', 'PLE', 'PLW', 'I']
setup_linux_cpu.sh ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ pip install torch --index-url https://download.pytorch.org/whl/cpu transformers[torch]
2
+ pip install einops huggingface_hub gradio pillow