3a05chatgpt commited on
Commit
09a50c3
·
verified ·
1 Parent(s): f1e5728

Upload requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +15 -5
requirements.txt CHANGED
@@ -1,6 +1,16 @@
1
- # 主要程式需求套件(務必安裝正確)
2
- streamlit
3
- openai
4
- pypdf
 
 
 
5
 
6
- # 其他:如需額外功能請再補充
 
 
 
 
 
 
 
 
1
+ # ====== 主要套件 ======
2
+ streamlit # 前端介面(主程式用)
3
+ openai # OpenAI GPT 介面
4
+ pypdf # PDF 解析
5
+ transformers # Hugging Face 預訓練模型(如 Bert, T5, Bart 文字摘要)
6
+ sentencepiece # 部分 Transformers 模型依賴(如 T5/Bart/MBart )
7
+ protobuf # 轉換格式相容(解決部分版本問題)
8
 
9
+ # ====== 其他常用 ======
10
+ requests # 網頁存取
11
+ tqdm # 進度條(如需加載大模型時)
12
+
13
+ # ====== 可選:PDF 密碼破解用 ======
14
+ pikepdf # PDF 密碼移除功能(如果有 pdfpass.py)
15
+
16
+ # ====== 你可視需要增刪 ======