Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +29 -14
requirements.txt
CHANGED
|
@@ -1,14 +1,29 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Force specific versions known to work together and resolve conflicts.
|
| 2 |
+
# This is the BEST we can do without Dockerfile control.
|
| 3 |
+
|
| 4 |
+
gradio>=3.30, <4.0 # Gradio, with version constraint for compatibility
|
| 5 |
+
transformers>=4.30.0 # Transformers, with version constraint
|
| 6 |
+
sentence-transformers>=2.2.2 # sentence-transformers
|
| 7 |
+
duckduckgo-search>=4.0.0 # duckduckgo-search
|
| 8 |
+
huggingface-hub # huggingface-hub
|
| 9 |
+
requests>=2.28.0 # requests
|
| 10 |
+
arxiv>=1.4.2 # arxiv
|
| 11 |
+
scholarly>=1.7.10 # scholarly
|
| 12 |
+
pymed>=0.1.5 #pymed
|
| 13 |
+
wikipedia>=1.4.0 # wikipedia
|
| 14 |
+
newspaper3k==0.2.8 # newspaper3k, *CRITICAL* to specify version
|
| 15 |
+
pickle-mixin>=1.0.2 # pickle-mixin
|
| 16 |
+
faiss-cpu>=1.7.4 # faiss-cpu, with a reasonable recent version
|
| 17 |
+
tiktoken>=0.4.0 # tiktoken
|
| 18 |
+
lxml>=4.9.4 # lxml, *CRITICAL* dependency, specify version
|
| 19 |
+
Pillow>=10.0.1 # Pillow for Image support
|
| 20 |
+
|
| 21 |
+
# These are sometimes needed as dependencies of the above.
|
| 22 |
+
# Specifying them explicitly can help resolve conflicts.
|
| 23 |
+
beautifulsoup4>=4.12.2
|
| 24 |
+
soupsieve>=2.3.2
|
| 25 |
+
cssselect>=1.1.0
|
| 26 |
+
pytz
|
| 27 |
+
python-dateutil
|
| 28 |
+
|
| 29 |
+
# Add any OTHER dependencies your app.py needs here.
|