i0switch commited on
Commit
3b424cd
·
verified ·
1 Parent(s): 5d53bd3

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +13 -25
requirements.txt CHANGED
@@ -1,33 +1,21 @@
1
- # GPU wheels は ZeroGPU が自動で解決するため extra-index は不要
2
-
3
  # Gradio & Spaces
4
- gradio[mcp,oauth]==5.34.2
5
- spaces==0.37.1
6
- huggingface-hub>=0.30,<0.40
7
- pydantic>=2.11,<2.12 # Gradio 5.34.x が要求する範囲
8
 
9
- # --- PyTorch スタック(ZeroGPU 公認) ---
10
- torch==2.4.1 # “+cu118” を外す
11
- torchvision==0.19.1
12
- xformers==0.0.28.post1 # 2.4.1 対応ビルド
13
 
14
- # --- 生成 AI ---
15
- diffusers==0.30.3
 
16
  accelerate==0.29.3
17
- transformers==4.41.1
18
- peft==0.11.1
19
- safetensors>=0.5.3
20
- numpy==1.26.4
21
- compel
22
 
23
- # --- CV / 画像処理 ---
24
- opencv-python-headless
25
  Pillow
26
- insightface
 
27
  basicsr==1.4.2
28
  realesrgan
29
- onnxruntime-gpu
30
-
31
- # --- API グルー ---
32
- fastapi
33
- python-multipart
 
 
 
1
  # Gradio & Spaces
2
+ gradio==4.31.0
 
 
 
3
 
4
+ # PyTorch (CPU-first loading strategy)
5
+ torch==2.3.1
6
+ torchvision==0.18.1
 
7
 
8
+ # AI & Diffusers
9
+ diffusers==0.27.2
10
+ transformers==4.40.1
11
  accelerate==0.29.3
12
+ compel==2.0.2
13
+ safetensors
 
 
 
14
 
15
+ # CV & Image Processing
 
16
  Pillow
17
+ opencv-python-headless
18
+ insightface==0.7.3
19
  basicsr==1.4.2
20
  realesrgan
21
+ onnxruntime # <- GPUではなくCPU版を指定