File size: 920 Bytes
8ef276c
 
 
 
3dcdd5f
8ef276c
db6d0c8
 
 
8ef276c
 
 
 
 
db6d0c8
8ef276c
 
db6d0c8
 
 
 
 
8ef276c
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Hugging Face Spaces Requirements
# Optimized for Gradio deployment

# Gradio for the web interface
gradio>=4.44.0

# AI/ML Core Libraries - with version pinning for compatibility
transformers>=4.35.0,<5.0.0   # Transformer models (needed for sentence-transformers)
accelerate>=0.25.0            # Required by transformers for init_empty_weights
sentence-transformers>=2.2.0  # For division matching embeddings
openai-whisper>=20231117      # For speech-to-text
gliner>=0.1.0                 # For name extraction

# Scientific Computing
numpy>=1.24.0,<2.0.0          # Pin to avoid compatibility issues
scipy>=1.10.0                 # For audio file handling

# PyTorch - CPU version for HF Spaces
torch>=2.0.0

# Data Validation
pydantic>=2.0.0               # For models.py

# Standard Libraries (usually included but good to specify)
# Note: logging, os, tempfile, pathlib, typing, difflib, re are standard library