Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +16 -13
requirements.txt
CHANGED
@@ -1,25 +1,28 @@
|
|
1 |
-
# requirements.txt
|
2 |
|
3 |
-
#
|
4 |
-
gradio[oauth,mcp]==5.34.
|
5 |
-
spaces==0.
|
6 |
|
7 |
-
#
|
8 |
-
torch==2.1.2
|
9 |
torchvision
|
10 |
-
diffusers
|
|
|
|
|
|
|
11 |
numpy==1.26.4
|
|
|
|
|
|
|
|
|
12 |
opencv-python-headless
|
13 |
Pillow
|
14 |
insightface
|
15 |
basicsr
|
16 |
realesrgan
|
17 |
onnxruntime-gpu
|
18 |
-
transformers
|
19 |
-
accelerate
|
20 |
-
peft==0.11.1
|
21 |
|
22 |
-
# FastAPI
|
23 |
fastapi
|
24 |
-
|
25 |
-
python-multipart
|
|
|
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
|
22 |
basicsr
|
23 |
realesrgan
|
24 |
onnxruntime-gpu
|
|
|
|
|
|
|
25 |
|
26 |
+
# === FastAPI (Gradio とハイブリッド) ===
|
27 |
fastapi
|
28 |
+
python-multipart
|
|