Varun95 commited on
Commit
538465c
·
verified ·
1 Parent(s): 3709d10

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +5 -19
requirements.txt CHANGED
@@ -1,21 +1,7 @@
1
- # ─── ScriptFlow — HuggingFace Spaces (CPU free tier) ─────────────────────────
2
- # torch CPU-only wheel (~220 MB instead of ~2 GB GPU build)
3
- --extra-index-url https://download.pytorch.org/whl/cpu
4
- torch
5
- torchvision
6
-
7
- # HuggingFace models
8
- transformers
9
- tokenizers
10
-
11
- # T5 grammar correction (lightweight CPU alternative to Llama)
12
- sentencepiece
13
-
14
- # Image handling
15
- Pillow
16
-
17
  # Word document export
18
- python-docx
19
-
20
  # Gradio UI
21
- gradio
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # Word document export
2
+ python-docx>=1.1.0
 
3
  # Gradio UI
4
+ gradio>=4.36.0
5
+ # Gradio UI — must be >=5.0 to be compatible with huggingface_hub>=0.25
6
+ # (older gradio tries to import HfFolder which was removed in newer huggingface_hub)
7
+ gradio>=5.0.0