dreibh commited on
Commit
a259628
·
unverified ·
1 Parent(s): 3a06f6c

Huggingface + Gradio has some incompatibility with pydantic

Browse files

=> "Error: No API found"

Adding "pydantic==2.10.6" to requirements.txt as work-around:
=> https://discuss.huggingface.co/t/error-no-api-found/146226/7

Files changed (1) hide show
  1. requirements.txt +3 -3
requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
- gradio >= 5.29.0
2
- transformers
3
- torch
4
  ecg-plot
 
5
  matplotlib
6
  Pillow
7
  pydantic==2.10.6
 
 
 
 
 
 
1
  ecg-plot
2
+ gradio
3
  matplotlib
4
  Pillow
5
  pydantic==2.10.6
6
+ torch
7
+ transformers