techfreakworm commited on
Commit
ca276db
·
unverified ·
1 Parent(s): 05f6b53

fix(deploy): pin gradio to 6.14 to match running version + claude.md note refresh

Browse files
Files changed (2) hide show
  1. CLAUDE.md +4 -2
  2. requirements.txt +1 -1
CLAUDE.md CHANGED
@@ -53,10 +53,12 @@ TBD as discovered during M1+ implementation. Record new ones here as they come u
53
  - Don't pin `spaces` in `requirements.txt`. HF Spaces' ZeroGPU build injects its own version. A pin causes pip-resolve failure.
54
  - `transformers >= 5` may break imports. **Pin:** `transformers>=4.45,<5.0`.
55
 
56
- ### Gradio 5 quirks
57
 
 
58
  - Don't put `<script>` tags inside `gr.HTML` blocks — they get stripped. JS goes in `gr.Blocks(head=…)`.
59
- - The Gradio 6.0 deprecation warnings about `theme=` / `css=` / `head=` on `Blocks` are benign on 5.50. Ignore until upgrade.
 
60
 
61
  ### HF Spaces deployment
62
 
 
53
  - Don't pin `spaces` in `requirements.txt`. HF Spaces' ZeroGPU build injects its own version. A pin causes pip-resolve failure.
54
  - `transformers >= 5` may break imports. **Pin:** `transformers>=4.45,<5.0`.
55
 
56
+ ### Gradio 6.14 quirks
57
 
58
+ - Running version is `gradio>=6.14,<7`. `requirements.txt` reflects this; HF Spaces `sdk_version: 6.14.0` matches.
59
  - Don't put `<script>` tags inside `gr.HTML` blocks — they get stripped. JS goes in `gr.Blocks(head=…)`.
60
+ - `info=` is not accepted by `gr.Audio` or `gr.File` on 6.14. `tooltips.py` keeps the strings for `COVER_REF_AUDIO`, `EXTEND_SEED_AUDIO`, `EDIT_SOURCE_AUDIO`, `LORA_UPLOAD` as the single source of truth — when upstream lands `info=` on those components, they're a one-line wire-up away.
61
+ - Slate-blue band around primary CTA: defeated via `.styler { background: transparent }` in `theme.CSS`. If a future Gradio bump reintroduces it, the override needs revisiting.
62
 
63
  ### HF Spaces deployment
64
 
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- gradio>=5.50,<6
2
  transformers>=4.45,<5
3
  torch>=2.4
4
  torchaudio>=2.4
 
1
+ gradio>=6.14,<7
2
  transformers>=4.45,<5
3
  torch>=2.4
4
  torchaudio>=2.4