Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +9 -10
requirements.txt
CHANGED
@@ -1,20 +1,19 @@
|
|
1 |
-
#
|
2 |
-
gradio[oauth,mcp]==5.34.2
|
3 |
-
spaces==0.37.1
|
4 |
-
huggingface-hub==0.25.2
|
5 |
|
6 |
-
#
|
|
|
7 |
torch==2.1.2
|
8 |
torchvision
|
9 |
-
diffusers==0.27.2
|
10 |
-
transformers==4.41.1
|
11 |
accelerate==0.29.3
|
|
|
12 |
peft==0.11.1
|
13 |
safetensors
|
14 |
xformers
|
15 |
-
numpy==1.26.4
|
16 |
|
17 |
-
#
|
18 |
opencv-python-headless
|
19 |
Pillow
|
20 |
insightface
|
@@ -22,6 +21,6 @@ basicsr
|
|
22 |
realesrgan
|
23 |
onnxruntime-gpu
|
24 |
|
25 |
-
#
|
26 |
fastapi
|
27 |
python-multipart
|
|
|
1 |
+
# --- 必須ライブラリ(ZeroGPU 対応) ---
|
2 |
+
gradio[oauth,mcp]==5.34.2 # gradio が HF-Hub ≥0.28.1 を要求
|
3 |
+
spaces==0.37.1
|
|
|
4 |
|
5 |
+
# --- ML コア ---
|
6 |
+
diffusers==0.27.2 # InstantID 動作確認済み
|
7 |
torch==2.1.2
|
8 |
torchvision
|
|
|
|
|
9 |
accelerate==0.29.3
|
10 |
+
transformers==4.41.1
|
11 |
peft==0.11.1
|
12 |
safetensors
|
13 |
xformers
|
14 |
+
numpy==1.26.4 # NumPy2 系との ABI 衝突回避
|
15 |
|
16 |
+
# --- CV / 画像処理 ---
|
17 |
opencv-python-headless
|
18 |
Pillow
|
19 |
insightface
|
|
|
21 |
realesrgan
|
22 |
onnxruntime-gpu
|
23 |
|
24 |
+
# --- API グルー ---
|
25 |
fastapi
|
26 |
python-multipart
|