hellorahulk commited on
Commit
6ef7758
·
1 Parent(s): 1d8617e

Fix magic module dependencies

Browse files
Files changed (2) hide show
  1. packages.txt +2 -0
  2. requirements.txt +4 -1
packages.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ libmagic1
2
+ file
requirements.txt CHANGED
@@ -1,9 +1,12 @@
1
  docling>=0.1.0
2
  pydantic>=2.0.0
 
3
  python-docx>=0.8.11
4
  PyPDF2>=3.0.0
5
  beautifulsoup4>=4.12.0
6
  lxml>=4.9.0
7
  gradio>=4.0.0
8
  pandas>=1.5.0
9
- huggingface-hub>=0.19.0
 
 
 
1
  docling>=0.1.0
2
  pydantic>=2.0.0
3
+ python-magic>=0.4.27
4
  python-docx>=0.8.11
5
  PyPDF2>=3.0.0
6
  beautifulsoup4>=4.12.0
7
  lxml>=4.9.0
8
  gradio>=4.0.0
9
  pandas>=1.5.0
10
+ huggingface-hub>=0.19.0
11
+ python-magic-bin>=0.4.14; platform_system == "Windows"
12
+ libmagic; platform_system == "Linux"