File size: 1,584 Bytes
d498226
 
 
7ac6163
0c32edc
 
5ee5954
 
 
 
 
 
 
 
 
 
 
 
 
7ac6163
 
5ee5954
 
 
 
7ac6163
8852255
 
 
 
7ac6163
5ee5954
 
 
8852255
5cbef23
 
7ac6163
 
5ee5954
 
 
20fe6c3
7ac6163
8852255
 
 
7ac6163
5ee5954
 
 
7ac6163
 
5ee5954
 
7ac6163
5ee5954
 
 
c255068
 
64127a1
 
c6a816d
64127a1
 
 
 
20fe6c3
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Requires Python >= 3.11 (3.9 is EOL since Oct 2025)
# Production uses python:3.11-slim Docker image

# === Core Framework ===
fastapi>=0.115.2
uvicorn[standard]>=0.27.0
pydantic>=2.5.3
python-multipart>=0.0.6

# === AI/ML (CPU version for Hugging Face Spaces) ===
# We will install torch CPU explicitly in Dockerfile to save space, 
# but keeping it here without version pin is good practice for local dev.
# torch
# torchvision
# torchaudio

transformers>=4.37.0
accelerate>=0.26.0
datasets>=2.16.1

# === Audio Processing ===
librosa>=0.10.1
soundfile>=0.12.1
audioread>=3.0.1
resampy>=0.4.2

# === CLAP Embeddings (Layer 2 - optional, CPU) ===
# laion-clap requires torch; install torch CPU first
laion-clap>=1.1.4

# === Data Processing ===
numpy>=1.26.3
pandas>=2.1.4
scipy>=1.11.4
scikit-learn>=1.3.2
lightgbm>=4.3.0
xgboost>=2.0.3

# === API & Web ===
aiohttp>=3.9.1
httpx>=0.26.0
requests>=2.31.0
gradio>=6.0.0,<7.0.0

# === Gradio Client (FST Layer 3 - external API) ===
gradio_client>=1.0.0

# === Utilities ===
python-dotenv>=1.0.0
pyyaml>=6.0.1
click>=8.1.7

# === Monitoring & Logging ===
loguru>=0.7.2
prometheus-client>=0.19.0

# === YouTube/Spotify ===
# yt-dlp should always be latest to support new youtube updates
yt-dlp>=2024.1.0
# spotdl conflicts with gradio (requires fastapi<0.104, gradio requires >=0.115.2)
# spotdl is only used locally, not on HF Spaces

# === Crown Commend (YouTube Comment AI) ===
google-genai>=1.0.0
google-api-python-client>=2.134.0
google-auth-httplib2>=0.2.0
google-auth-oauthlib>=1.2.0
isodate>=0.6.1
youtube-transcript-api>=0.6.2