oKen38461 commited on
Commit
84deb5f
·
1 Parent(s): 988fc5b

requirements.txtに互換性を保つためのパッケージバージョンを追加し、gradioおよびgradio_imagesliderのバージョン指定を削除しました。

Browse files
Files changed (1) hide show
  1. requirements.txt +9 -4
requirements.txt CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  numpy>=1.21.0
2
  torch>=1.9.0
3
  einops>=0.6.0
@@ -6,9 +13,7 @@ timm>=0.6.0
6
  torchvision>=0.10.0
7
  opencv-python
8
  loadimg
9
- gradio_imageslider==0.0.20
10
- gradio==4.44.1
11
- gradio_client==1.3.0
12
- huggingface_hub>=0.28.0
13
  GitPython
14
  spaces
 
1
+ # --- 互換性確保 ----
2
+ pydantic==2.10.6 # 2.11 以上は NG
3
+ gradio==5.13.1 # 元スペースと同じ
4
+ fastapi==0.115.8 # Gradio 5.13.1 がテスト済みの組み合わせ
5
+ starlette==0.45.3
6
+ # -------------------
7
+
8
  numpy>=1.21.0
9
  torch>=1.9.0
10
  einops>=0.6.0
 
13
  torchvision>=0.10.0
14
  opencv-python
15
  loadimg
16
+ gradio_imageslider
17
+ huggingface_hub
 
 
18
  GitPython
19
  spaces