Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +101 -100
requirements.txt
CHANGED
|
@@ -1,101 +1,102 @@
|
|
| 1 |
-
# Glossarion Web - Hugging Face Spaces Requirements
|
| 2 |
-
# Core Gradio and web interface
|
| 3 |
-
gradio>=4.0.0
|
| 4 |
-
|
| 5 |
-
# Core packages
|
| 6 |
-
pillow
|
| 7 |
-
beautifulsoup4
|
| 8 |
-
lxml
|
| 9 |
-
html5lib
|
| 10 |
-
ebooklib
|
| 11 |
-
requests
|
| 12 |
-
tqdm
|
| 13 |
-
langdetect
|
| 14 |
-
|
| 15 |
-
# AI/API Clients
|
| 16 |
-
openai==1.94.0
|
| 17 |
-
anthropic
|
| 18 |
-
mistralai
|
| 19 |
-
cohere
|
| 20 |
-
tiktoken
|
| 21 |
-
google-genai
|
| 22 |
-
google-cloud-aiplatform>=1.60.0
|
| 23 |
-
deepl
|
| 24 |
-
vertexai
|
| 25 |
-
|
| 26 |
-
# Data processing
|
| 27 |
-
datasketch
|
| 28 |
-
numpy
|
| 29 |
-
scipy
|
| 30 |
-
|
| 31 |
-
# HTTP/Networking
|
| 32 |
-
httpx
|
| 33 |
-
httpcore
|
| 34 |
-
anyio
|
| 35 |
-
sniffio
|
| 36 |
-
websocket-client
|
| 37 |
-
websockets
|
| 38 |
-
aiohttp
|
| 39 |
-
aiofiles
|
| 40 |
-
multidict
|
| 41 |
-
yarl
|
| 42 |
-
async-timeout
|
| 43 |
-
attrs
|
| 44 |
-
|
| 45 |
-
# Text processing
|
| 46 |
-
regex
|
| 47 |
-
python-dotenv
|
| 48 |
-
certifi
|
| 49 |
-
chardet
|
| 50 |
-
charset-normalizer
|
| 51 |
-
olefile
|
| 52 |
-
html2text
|
| 53 |
-
markdown2
|
| 54 |
-
rapidfuzz
|
| 55 |
-
|
| 56 |
-
# Image processing (headless version for servers)
|
| 57 |
-
opencv-python-headless
|
| 58 |
-
|
| 59 |
-
# Pin typing-extensions
|
| 60 |
-
typing-extensions
|
| 61 |
-
|
| 62 |
-
# Google Cloud Services
|
| 63 |
-
google-cloud-vision
|
| 64 |
-
google-cloud-translate
|
| 65 |
-
google-auth
|
| 66 |
-
google-auth-httplib2
|
| 67 |
-
google-api-core
|
| 68 |
-
googleapis-common-protos
|
| 69 |
-
grpcio
|
| 70 |
-
grpcio-status
|
| 71 |
-
proto-plus
|
| 72 |
-
protobuf
|
| 73 |
-
|
| 74 |
-
# Azure Computer Vision
|
| 75 |
-
azure-cognitiveservices-vision-computervision
|
| 76 |
-
msrest
|
| 77 |
-
msrestazure
|
| 78 |
-
isodate
|
| 79 |
-
azure-core
|
| 80 |
-
azure-identity
|
| 81 |
-
|
| 82 |
-
# YOLO Bubble Detection (CPU only for Spaces)
|
| 83 |
-
onnxruntime
|
| 84 |
-
ultralytics
|
| 85 |
-
lap>=0.5.12
|
| 86 |
-
|
| 87 |
-
# Inpainting
|
| 88 |
-
replicate
|
| 89 |
-
|
| 90 |
-
# PyTorch (CPU only for Spaces to reduce size and startup time)
|
| 91 |
-
torch --index-url https://download.pytorch.org/whl/cpu
|
| 92 |
-
torchvision --index-url https://download.pytorch.org/whl/cpu
|
| 93 |
-
onnxruntime
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
|
|
|
| 101 |
packaging
|
|
|
|
| 1 |
+
# Glossarion Web - Hugging Face Spaces Requirements
|
| 2 |
+
# Core Gradio and web interface
|
| 3 |
+
gradio>=4.0.0
|
| 4 |
+
|
| 5 |
+
# Core packages
|
| 6 |
+
pillow
|
| 7 |
+
beautifulsoup4
|
| 8 |
+
lxml
|
| 9 |
+
html5lib
|
| 10 |
+
ebooklib
|
| 11 |
+
requests
|
| 12 |
+
tqdm
|
| 13 |
+
langdetect
|
| 14 |
+
|
| 15 |
+
# AI/API Clients
|
| 16 |
+
openai==1.94.0
|
| 17 |
+
anthropic
|
| 18 |
+
mistralai
|
| 19 |
+
cohere
|
| 20 |
+
tiktoken
|
| 21 |
+
google-genai
|
| 22 |
+
google-cloud-aiplatform>=1.60.0
|
| 23 |
+
deepl
|
| 24 |
+
vertexai
|
| 25 |
+
|
| 26 |
+
# Data processing
|
| 27 |
+
datasketch
|
| 28 |
+
numpy
|
| 29 |
+
scipy
|
| 30 |
+
|
| 31 |
+
# HTTP/Networking
|
| 32 |
+
httpx
|
| 33 |
+
httpcore
|
| 34 |
+
anyio
|
| 35 |
+
sniffio
|
| 36 |
+
websocket-client
|
| 37 |
+
websockets
|
| 38 |
+
aiohttp
|
| 39 |
+
aiofiles
|
| 40 |
+
multidict
|
| 41 |
+
yarl
|
| 42 |
+
async-timeout
|
| 43 |
+
attrs
|
| 44 |
+
|
| 45 |
+
# Text processing
|
| 46 |
+
regex
|
| 47 |
+
python-dotenv
|
| 48 |
+
certifi
|
| 49 |
+
chardet
|
| 50 |
+
charset-normalizer
|
| 51 |
+
olefile
|
| 52 |
+
html2text
|
| 53 |
+
markdown2
|
| 54 |
+
rapidfuzz
|
| 55 |
+
|
| 56 |
+
# Image processing (headless version for servers)
|
| 57 |
+
opencv-python-headless
|
| 58 |
+
|
| 59 |
+
# Pin typing-extensions
|
| 60 |
+
typing-extensions
|
| 61 |
+
|
| 62 |
+
# Google Cloud Services
|
| 63 |
+
google-cloud-vision
|
| 64 |
+
google-cloud-translate
|
| 65 |
+
google-auth
|
| 66 |
+
google-auth-httplib2
|
| 67 |
+
google-api-core
|
| 68 |
+
googleapis-common-protos
|
| 69 |
+
grpcio
|
| 70 |
+
grpcio-status
|
| 71 |
+
proto-plus
|
| 72 |
+
protobuf
|
| 73 |
+
|
| 74 |
+
# Azure Computer Vision
|
| 75 |
+
azure-cognitiveservices-vision-computervision
|
| 76 |
+
msrest
|
| 77 |
+
msrestazure
|
| 78 |
+
isodate
|
| 79 |
+
azure-core
|
| 80 |
+
azure-identity
|
| 81 |
+
|
| 82 |
+
# YOLO Bubble Detection (CPU only for Spaces)
|
| 83 |
+
onnxruntime
|
| 84 |
+
ultralytics
|
| 85 |
+
lap>=0.5.12
|
| 86 |
+
|
| 87 |
+
# Inpainting
|
| 88 |
+
replicate
|
| 89 |
+
|
| 90 |
+
# PyTorch (CPU only for Spaces to reduce size and startup time)
|
| 91 |
+
torch --index-url https://download.pytorch.org/whl/cpu
|
| 92 |
+
torchvision --index-url https://download.pytorch.org/whl/cpu
|
| 93 |
+
onnxruntime
|
| 94 |
+
onnxruntime-gpu
|
| 95 |
+
safetensors
|
| 96 |
+
transformers
|
| 97 |
+
|
| 98 |
+
# Encryption/Decryption
|
| 99 |
+
cryptography
|
| 100 |
+
|
| 101 |
+
# Version management
|
| 102 |
packaging
|