i0switch commited on
Commit
a256c79
·
verified ·
1 Parent(s): 45eb86f

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +9 -11
requirements.txt CHANGED
@@ -1,21 +1,19 @@
1
- # requirements.txt (ZeroGPU-ready)
 
 
2
 
3
- # === Web UI / ZeroGPU ===
4
- gradio[oauth,mcp]==5.34.2 # 最新安定版:contentReference[oaicite:5]{index=5}
5
- spaces==0.46.1 # >=0.44 推奨:contentReference[oaicite:6]{index=6}
6
-
7
- # === ML Core ===
8
- torch==2.1.2 # ZeroGPU 対応版:contentReference[oaicite:7]{index=7}
9
  torchvision
10
  diffusers==0.27.2
11
  transformers==4.41.1
12
  accelerate==0.29.3
13
  peft==0.11.1
14
- numpy==1.26.4
15
- xformers
16
  safetensors
 
 
17
 
18
- # === Image / CV ===
19
  opencv-python-headless
20
  Pillow
21
  insightface
@@ -23,6 +21,6 @@ basicsr
23
  realesrgan
24
  onnxruntime-gpu
25
 
26
- # === FastAPI (Gradio とハイブリッド) ===
27
  fastapi
28
  python-multipart
 
1
+ # ==== Hugging Face / ZeroGPU ====
2
+ gradio[oauth,mcp]==5.34.2 # 最新安定版 (2025-06-19)
3
+ spaces==0.37.1 # PyPI 最新。0.37 系は ZeroGPU で実稼働確認
4
 
5
+ # ==== ML Core ====
6
+ torch==2.1.2
 
 
 
 
7
  torchvision
8
  diffusers==0.27.2
9
  transformers==4.41.1
10
  accelerate==0.29.3
11
  peft==0.11.1
 
 
12
  safetensors
13
+ xformers
14
+ numpy==1.26.4 # NumPy 2.x との ABI 衝突を回避
15
 
16
+ # ==== CV / 画像処理 ====
17
  opencv-python-headless
18
  Pillow
19
  insightface
 
21
  realesrgan
22
  onnxruntime-gpu
23
 
24
+ # ==== FastAPI(UI 共存用) ====
25
  fastapi
26
  python-multipart