specimba commited on
Commit
8117149
·
unverified ·
1 Parent(s): 7edb240

fix: remove ALL SDK-managed packages from requirements.txt (gradio, torch, uvicorn, websockets, spaces) to resolve 6.12.0 vs 6.18.0 conflict

Browse files
Files changed (1) hide show
  1. requirements.txt +13 -17
requirements.txt CHANGED
@@ -1,22 +1,18 @@
1
- # NEXUS Visual Weaver - Clean HF Space Dependencies
2
- torch==2.11.0
3
- Pillow>=11.1.0
 
4
 
5
- # HF Core (pinned for stability)
6
  huggingface_hub>=0.30.0
7
- diffusers==0.30.3
8
- transformers>=4.40
9
- accelerate>=0.30
 
 
 
10
  peft>=0.13.0
11
  safetensors
12
 
13
- # Gradio (stable version for Spaces + MCP/OAuth)
14
- gradio[oauth,mcp]==6.12.0
15
-
16
- # Runtime
17
- uvicorn>=0.14.0
18
- websockets>=10.4
19
- spaces==0.50.4
20
-
21
- # Note: Do NOT install 'modal' inside the Space container.
22
- # Modal functions are called from outside via the Modal client.
 
1
+ # NEXUS Visual Weaver - HF Space Dependencies
2
+ # NOTE: Do NOT include gradio, torch, uvicorn, websockets, or spaces here.
3
+ # The HF Spaces SDK installs these automatically (currently gradio==6.18.0, torch<=2.11.0).
4
+ # Adding them here creates version conflicts with the SDK.
5
 
6
+ # HF Core
7
  huggingface_hub>=0.30.0
8
+
9
+ # ML
10
+ accelerate>=1.12.0
11
+ transformers>=4.57.1
12
+ Pillow>=11.1.0
13
+ git+https://github.com/huggingface/diffusers.git
14
  peft>=0.13.0
15
  safetensors
16
 
17
+ # Modal client (calls external GPU functions, not installed inside Space)
18
+ modal