Update requirements: add modal + sentencepiece, pin transformers>=5.0

#6
Files changed (1) hide show
  1. requirements.txt +13 -6
requirements.txt CHANGED
@@ -1,15 +1,22 @@
 
1
  gradio==6.15.2
2
  huggingface_hub>=1.17
 
3
 
4
- # Vision model
 
 
5
  torch
6
  torchvision
7
- spaces
8
- Pillow
9
- transformers>=4.45
10
  accelerate
11
  safetensors
 
12
  av
 
 
13
 
14
- # Pipeline & data
15
- pydantic>=2
 
 
 
1
+ # --- UI ---
2
  gradio==6.15.2
3
  huggingface_hub>=1.17
4
+ pydantic>=2
5
 
6
+ # --- Vision model (MiniCPM-V-4.6 runs on the Space's ZeroGPU) ---
7
+ # transformers>=5.0 required: MiniCPMV4_6ForConditionalGeneration is a native
8
+ # class added in the 5.x line.
9
  torch
10
  torchvision
11
+ transformers>=5.0
 
 
12
  accelerate
13
  safetensors
14
+ sentencepiece
15
  av
16
+ spaces
17
+ Pillow
18
 
19
+ # --- Remote model calls ---
20
+ # The recipe planner (MiniCPM4.1-8B) and step illustrator (FLUX/SDXL) run on
21
+ # separate Modal apps; the Space calls them via the `modal` client.
22
+ modal