davanstrien HF Staff Claude commited on
Commit
b2a28f3
·
1 Parent(s): fab5e6e

Fix DeepSeek-OCR dependencies

Browse files

Add missing packages required by model's custom code:
- addict, easydict (config handling)
- matplotlib (visualization)
- torchvision (image processing)
- einops (tensor operations)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. deepseek-ocr.py +5 -0
deepseek-ocr.py CHANGED
@@ -5,8 +5,13 @@
5
  # "huggingface-hub[hf_transfer]",
6
  # "pillow",
7
  # "torch",
 
8
  # "transformers",
9
  # "tqdm",
 
 
 
 
10
  # ]
11
  #
12
  # ///
 
5
  # "huggingface-hub[hf_transfer]",
6
  # "pillow",
7
  # "torch",
8
+ # "torchvision",
9
  # "transformers",
10
  # "tqdm",
11
+ # "addict",
12
+ # "matplotlib",
13
+ # "einops",
14
+ # "easydict",
15
  # ]
16
  #
17
  # ///