Bennie12 commited on
Commit
202de42
·
verified ·
1 Parent(s): 40b9204

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +25 -10
requirements.txt CHANGED
@@ -1,11 +1,26 @@
 
 
 
 
 
 
 
1
  gradio
2
- transformers==4.38.2
3
- torch==2.1.2
4
- pydantic==2.5.2
5
- requests==2.31.0
6
- numpy==1.26.2
7
- pandas==2.1.3
8
- scikit-learn==1.3.2
9
- easyocr==1.7.1
10
- Pillow==10.1.0
11
- huggingface_hub==0.20.3
 
 
 
 
 
 
 
 
 
1
+ # === FastAPI & Gradio Server ===
2
+ fastapi
3
+ uvicorn
4
+ python-multipart
5
+ aiofiles
6
+
7
+ # === Gradio UI Framework (Gradio 4.x) ===
8
  gradio
9
+
10
+ # === Transformers & Deep Learning ===
11
+ transformers
12
+ torch
13
+ huggingface_hub
14
+
15
+ # === NLP & ML 工具包 ===
16
+ scikit-learn
17
+ pandas
18
+ numpy
19
+ requests
20
+
21
+ # === OCR 圖像處理 ===
22
+ easyocr
23
+ Pillow
24
+
25
+ # === Pydantic 2.x 支援(你使用新版本)===
26
+ pydantic