File size: 887 Bytes
d3fa404
 
 
ab42955
d3fa404
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Python 3.10 compatible requirements for HuggingFace
  Spaces
  # Updated for security and compatibility

  # Web interface - Updated for security
  gradio>=5.0.0

  # Core web framework
  fastapi>=0.104.0
  uvicorn>=0.24.0

  # Environment and configuration
  python-dotenv>=1.0.0

  # Data validation - Compatible with Python 3.10
  pydantic>=2.0.0,<3.0.0

  # HTTP clients
  requests>=2.31.0
  httpx>=0.25.0

  # Language processing
  langdetect>=1.0.9
  deep-translator>=1.11.4
  beautifulsoup4>=4.12.0

  # Machine learning and embeddings
  sentence-transformers>=2.7.0
  huggingface-hub>=0.20.0
  faiss-cpu>=1.8.0

  # Data processing - Compatible with Python 3.10
  numpy>=1.24.0,<2.0.0

  # Utilities
  tenacity>=8.0.0
  psutil>=5.9.0

  # Additional dependencies that may be needed
  scikit-learn>=1.0.0
  scipy>=1.9.0
  torch>=2.0.0
  tokenizers>=0.19.0
  transformers>=4.30.0