ianshank commited on
Commit
bfc6a39
·
1 Parent(s): 5ae2a6b

fix: Pin huggingface_hub to compatible version for Gradio OAuth

Browse files

- Pin huggingface_hub>=0.25,<1.0 in requirements.txt and pyproject.toml
- Ensures HfFolder import is available for Gradio OAuth

Files changed (2) hide show
  1. pyproject.toml +1 -0
  2. requirements.txt +1 -0
pyproject.toml CHANGED
@@ -61,6 +61,7 @@ api = [
61
  ]
62
  ui = [
63
  "gradio>=4.0.0",
 
64
  ]
65
  all = [
66
  "ptpd-calibration[ml,llm,api,ui]",
 
61
  ]
62
  ui = [
63
  "gradio>=4.0.0",
64
+ "huggingface_hub>=0.25,<1.0",
65
  ]
66
  all = [
67
  "ptpd-calibration[ml,llm,api,ui]",
requirements.txt CHANGED
@@ -7,6 +7,7 @@ pydantic-settings>=2.1.0
7
 
8
  # UI
9
  gradio>=4.0.0
 
10
 
11
  # ML (optional but useful)
12
  scikit-learn>=1.3.0
 
7
 
8
  # UI
9
  gradio>=4.0.0
10
+ huggingface_hub>=0.25,<1.0
11
 
12
  # ML (optional but useful)
13
  scikit-learn>=1.3.0