Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +10 -3
requirements.txt
CHANGED
@@ -1,11 +1,18 @@
|
|
1 |
-
transformers
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
torch
|
3 |
accelerate
|
4 |
-
gradio[oauth]==5.25.2
|
5 |
uvicorn>=0.14.0
|
6 |
spaces
|
7 |
pandas
|
8 |
beautifulsoup4
|
9 |
pytz
|
10 |
requests
|
11 |
-
#
|
|
|
|
1 |
+
# Use a newer transformers version, LangChain is compatible with it
|
2 |
+
transformers>=4.40.0
|
3 |
+
# Core LangChain libraries
|
4 |
+
langchain
|
5 |
+
# Library for using Hugging Face models with LangChain
|
6 |
+
langchain-huggingface
|
7 |
+
# Other dependencies we still need
|
8 |
torch
|
9 |
accelerate
|
10 |
+
gradio[oauth]==5.25.2 # Keeping this pinned for Space compatibility
|
11 |
uvicorn>=0.14.0
|
12 |
spaces
|
13 |
pandas
|
14 |
beautifulsoup4
|
15 |
pytz
|
16 |
requests
|
17 |
+
# Tool-specific dependencies
|
18 |
+
duckduckgo-search # A more reliable way to use DuckDuckGo than scraping
|