Hunsain Mazhar commited on
Commit
d055370
Β·
1 Parent(s): a48384c

Revert core infrastructure dependencies to specific versions for ZeroGPU auth compatibility; ensure stability with huggingface_hub, spaces, and gradio.

Browse files
Files changed (1) hide show
  1. requirements.txt +9 -9
requirements.txt CHANGED
@@ -1,11 +1,12 @@
1
- # --- CORE INFRASTRUCTURE (New versions for ZeroGPU Auth) ---
2
- spaces>=0.32.0
3
- gradio>=5.0.0
4
- huggingface_hub>=0.26.2
 
 
 
5
 
6
- # --- AI FRAMEWORKS (Pinned for Compatibility) ---
7
- # We MUST use these older versions because IDM-VTON's source code
8
- # relies on specific internal functions that were removed in newer versions.
9
  torch==2.1.2
10
  torchvision==0.16.2
11
  torchaudio==2.1.2
@@ -13,8 +14,7 @@ numpy<2.0.0
13
  accelerate==0.26.1
14
 
15
  # --- IDM-VTON DEPENDENCIES ---
16
- # CRITICAL: Do not change these versions.
17
- # The "hacked" files in src/ depend on diffusers 0.25.x logic.
18
  diffusers==0.25.1
19
  transformers==4.36.2
20
  pydantic>=2.0.0
 
1
+ # --- CORE INFRASTRUCTURE ---
2
+ # huggingface_hub 0.25.2 is the LAST version to support 'cached_download'
3
+ # We MUST use this to prevent the ImportError.
4
+ huggingface_hub==0.25.2
5
+ spaces==0.30.2
6
+ # Gradio 4.44.1 is stable and fixes the Auth/ZeroGPU bugs from 4.36
7
+ gradio==4.44.1
8
 
9
+ # --- AI FRAMEWORKS ---
 
 
10
  torch==2.1.2
11
  torchvision==0.16.2
12
  torchaudio==2.1.2
 
14
  accelerate==0.26.1
15
 
16
  # --- IDM-VTON DEPENDENCIES ---
17
+ # Keeps 'PositionNet' working
 
18
  diffusers==0.25.1
19
  transformers==4.36.2
20
  pydantic>=2.0.0