Spaces:
Running on Zero
Running on Zero
Add requirements.txt for Hugging Face Spaces deployment
Browse files- Include all dependencies from pyproject.toml
- Fix ModuleNotFoundError for gradio_i18n
- Ensure proper installation of HTRflow and all required packages
- requirements.txt +24 -0
requirements.txt
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# HTRflow App Dependencies
|
| 2 |
+
# Main dependencies for Hugging Face Spaces deployment
|
| 3 |
+
|
| 4 |
+
# Core HTRflow package
|
| 5 |
+
htrflow @ git+https://github.com/AI-Riksarkivet/htrflow.git@c9a21db6daaa2b3f915d6c53ee77e78656c68f96
|
| 6 |
+
|
| 7 |
+
# Gradio and UI
|
| 8 |
+
gradio[mcp]>=6.5.1
|
| 9 |
+
gradio-i18n==0.3.4
|
| 10 |
+
|
| 11 |
+
# Hugging Face Spaces
|
| 12 |
+
spaces>=0.32.0
|
| 13 |
+
|
| 14 |
+
# Document processing
|
| 15 |
+
pymupdf==1.25.3
|
| 16 |
+
pagexml-tools==0.8.1
|
| 17 |
+
|
| 18 |
+
# ML/AI libraries
|
| 19 |
+
transformers>=4.30.0,<5.0.0
|
| 20 |
+
|
| 21 |
+
# Utilities
|
| 22 |
+
tqdm==4.67.1
|
| 23 |
+
dill==0.3.9
|
| 24 |
+
pycurl==7.45.6
|