Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +82 -67
requirements.txt
CHANGED
@@ -1,15 +1,18 @@
|
|
1 |
-
# Core
|
2 |
-
|
3 |
langchain
|
4 |
langchain-community
|
5 |
langchain-core
|
6 |
langsmith
|
7 |
-
openai
|
8 |
-
pydantic==2.8.2
|
9 |
-
pydantic_core==2.20.1
|
10 |
-
gradio>=5.15.0
|
11 |
-
gradio_client==1.7.0
|
12 |
langchain_openai
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
arxiv
|
14 |
pymupdf
|
15 |
beautifulsoup4
|
@@ -17,84 +20,96 @@ lxml
|
|
17 |
wikipedia
|
18 |
pypdf
|
19 |
unstructured
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
spacy
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
pandas==2.2.2
|
30 |
-
numpy==1.26.4
|
31 |
-
scipy==1.14.0
|
32 |
-
altair==5.3.0
|
33 |
fastapi==0.115.8
|
34 |
uvicorn==0.30.1
|
35 |
-
|
36 |
-
email_validator==2.2.0
|
37 |
python-multipart==0.0.20
|
|
|
38 |
|
39 |
-
#
|
40 |
-
|
41 |
-
|
42 |
-
MarkupSafe==2.1.5
|
43 |
-
Pygments==2.18.0
|
44 |
-
mdurl==0.1.2
|
45 |
-
rich==13.7.1
|
46 |
matplotlib==3.9.1
|
|
|
|
|
|
|
|
|
47 |
tqdm==4.66.4
|
48 |
|
49 |
-
#
|
50 |
-
httpx==0.27.0
|
51 |
requests==2.32.3
|
52 |
-
|
53 |
-
fastapi-cli==0.0.4
|
54 |
-
websockets==11.0.3
|
55 |
-
starlette==0.45.3
|
56 |
-
h11==0.14.0
|
57 |
-
httpcore==1.0.5
|
58 |
-
anyio==4.4.0
|
59 |
-
sniffio==1.3.1
|
60 |
-
|
61 |
-
# Utilities
|
62 |
packaging==24.1
|
63 |
-
|
64 |
-
typing_extensions==4.12.2
|
65 |
-
pytz==2024.1
|
66 |
PyYAML==6.0.1
|
67 |
-
six==1.16.0
|
68 |
-
filelock==3.15.4
|
69 |
-
certifi==2024.7.4
|
70 |
-
charset-normalizer==3.3.2
|
71 |
-
idna==3.7
|
72 |
-
colorama==0.4.6
|
73 |
-
cycler==0.12.1
|
74 |
-
kiwisolver==1.4.5
|
75 |
-
fonttools==4.53.1
|
76 |
-
pyparsing==3.1.2
|
77 |
-
shellingham==1.5.4
|
78 |
-
toolz==0.12.1
|
79 |
-
ujson==5.10.0
|
80 |
-
watchfiles==0.22.0
|
81 |
-
ffmpy==0.3.2
|
82 |
pydub==0.25.1
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
-
#
|
86 |
jsonschema==4.23.0
|
87 |
jsonschema-specifications==2023.12.1
|
88 |
referencing==0.35.1
|
89 |
rpds-py==0.19.0
|
|
|
|
|
90 |
|
91 |
-
# Optional
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
importlib_resources==6.4.0
|
|
|
|
|
|
|
|
|
93 |
semantic-version==2.10.0
|
|
|
|
|
94 |
tomlkit==0.12.0
|
95 |
-
|
96 |
-
|
97 |
-
|
|
|
|
|
|
|
|
|
|
|
98 |
|
99 |
-
#
|
100 |
-
|
|
|
|
1 |
+
# Core AI & NLP
|
2 |
+
openai
|
3 |
langchain
|
4 |
langchain-community
|
5 |
langchain-core
|
6 |
langsmith
|
|
|
|
|
|
|
|
|
|
|
7 |
langchain_openai
|
8 |
+
tiktoken
|
9 |
+
pydantic>=2.8.2
|
10 |
+
pydantic_core>=2.20.1
|
11 |
+
transformers[sentencepiece]
|
12 |
+
torch
|
13 |
+
tensorflow
|
14 |
+
tf-keras
|
15 |
+
spacy
|
16 |
arxiv
|
17 |
pymupdf
|
18 |
beautifulsoup4
|
|
|
20 |
wikipedia
|
21 |
pypdf
|
22 |
unstructured
|
23 |
+
|
24 |
+
# Gradio
|
25 |
+
gradio==5.15.0 # ใช้ตัวล่าสุดเพื่อความเข้ากันได้
|
26 |
+
gradio_client==1.7.0
|
27 |
+
|
28 |
+
# For spacy model (manual install or include script)
|
29 |
+
https://huggingface.co/spacy/en_core_web_sm/resolve/main/en_core_web_sm-any-py3-none-any.whl
|
30 |
+
|
31 |
+
# FastAPI & related (Telco-Churn)
|
|
|
|
|
|
|
|
|
32 |
fastapi==0.115.8
|
33 |
uvicorn==0.30.1
|
34 |
+
aiofiles==23.2.1
|
|
|
35 |
python-multipart==0.0.20
|
36 |
+
email_validator==2.2.0
|
37 |
|
38 |
+
# Data science and viz
|
39 |
+
numpy==1.26.4
|
40 |
+
pandas==2.2.2
|
|
|
|
|
|
|
|
|
41 |
matplotlib==3.9.1
|
42 |
+
altair==5.3.0
|
43 |
+
scikit-learn==1.3.2
|
44 |
+
scipy==1.14.0
|
45 |
+
joblib==1.4.2
|
46 |
tqdm==4.66.4
|
47 |
|
48 |
+
# Utility
|
|
|
49 |
requests==2.32.3
|
50 |
+
python-dotenv==1.0.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
packaging==24.1
|
52 |
+
pillow==10.4.0
|
|
|
|
|
53 |
PyYAML==6.0.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
pydub==0.25.1
|
55 |
+
ujson==5.10.0
|
56 |
+
orjson==3.10.6
|
57 |
+
markdown-it-py==3.0.0
|
58 |
+
mdurl==0.1.2
|
59 |
+
rich==13.7.1
|
60 |
+
typer==0.12.3
|
61 |
+
|
62 |
+
# FastAPI internal
|
63 |
+
starlette==0.45.3
|
64 |
+
httpx==0.27.0
|
65 |
+
httpcore==1.0.5
|
66 |
+
websockets==11.0.3
|
67 |
|
68 |
+
# Validation & parsing
|
69 |
jsonschema==4.23.0
|
70 |
jsonschema-specifications==2023.12.1
|
71 |
referencing==0.35.1
|
72 |
rpds-py==0.19.0
|
73 |
+
attrs==23.2.0
|
74 |
+
typing_extensions==4.12.2
|
75 |
|
76 |
+
# Optional: Dev Tools
|
77 |
+
ruff==0.9.5
|
78 |
+
watchfiles==0.22.0
|
79 |
+
|
80 |
+
# Color & UI
|
81 |
+
colorama==0.4.6
|
82 |
+
Pygments==2.18.0
|
83 |
+
|
84 |
+
# Others (less common but required)
|
85 |
+
contourpy==1.2.1
|
86 |
+
cycler==0.12.1
|
87 |
+
kiwisolver==1.4.5
|
88 |
+
fonttools==4.53.1
|
89 |
+
shellingham==1.5.4
|
90 |
+
safehttpx==0.1.6
|
91 |
+
sniffio==1.3.1
|
92 |
+
anyio==4.4.0
|
93 |
+
h11==0.14.0
|
94 |
+
httptools==0.6.1
|
95 |
importlib_resources==6.4.0
|
96 |
+
Jinja2==3.1.4
|
97 |
+
MarkupSafe==2.1.5
|
98 |
+
six==1.16.0
|
99 |
+
tzdata==2024.1
|
100 |
semantic-version==2.10.0
|
101 |
+
filelock==3.15.4
|
102 |
+
fsspec==2024.6.1
|
103 |
tomlkit==0.12.0
|
104 |
+
click==8.1.7
|
105 |
+
certifi==2024.7.4
|
106 |
+
idna==3.7
|
107 |
+
charset-normalizer==3.3.2
|
108 |
+
urllib3==2.2.2
|
109 |
+
dnspython==2.6.1
|
110 |
+
toolz==0.12.1
|
111 |
+
pyparsing==3.1.2
|
112 |
|
113 |
+
# Optional for deployment
|
114 |
+
fastapi-cli==0.0.4
|
115 |
+
ffmpy==0.3.2
|