chmielvu commited on
Commit
af56afa
·
verified ·
1 Parent(s): 46d50df

fix: downgrade pydantic to 2.8.0 to resolve runtime error

Browse files

- Pydantic 2.10.6 has known compatibility issues with HF transformers
- Downgrade to stable 2.8.0 version to fix application startup error
- Resolves Application unable to start error

Files changed (1) hide show
  1. requirements.txt +17 -17
requirements.txt CHANGED
@@ -1,17 +1,17 @@
1
- spaces
2
- timm
3
- openai
4
- numpy==1.24.4
5
- Pillow==10.3.0
6
- Requests==2.31.0
7
- torch
8
- torchvision
9
- transformers==4.46.1
10
- accelerate
11
- qwen-vl-utils
12
- anthropic
13
- groq
14
- sentencepiece
15
- huggingface_hub
16
- einops
17
- pydantic==2.10.6
 
1
+ spaces
2
+ timm
3
+ openai
4
+ numpy==1.24.4
5
+ Pillow==10.3.0
6
+ Requests==2.31.0
7
+ torch
8
+ torchvision
9
+ transformers==4.46.1
10
+ accelerate
11
+ qwen-vl-utils
12
+ anthropic
13
+ groq
14
+ sentencepiece
15
+ huggingface_hub
16
+ einops
17
+ pydantic==2.8.0