Spaces:
Runtime error
Runtime error
fixing
Browse files- requirements.txt +5 -7
requirements.txt
CHANGED
|
@@ -3,23 +3,22 @@ gradio==4.44.0
|
|
| 3 |
requests>=2.32.3
|
| 4 |
pandas==2.1.4
|
| 5 |
|
| 6 |
-
#
|
| 7 |
smolagents==1.18.0
|
| 8 |
-
|
| 9 |
transformers==4.45.2
|
| 10 |
torch==2.1.2
|
| 11 |
tokenizers==0.20.0
|
| 12 |
|
| 13 |
-
|
| 14 |
# Tool dependencies
|
| 15 |
duckduckgo-search==3.9.6
|
| 16 |
python-dotenv==1.0.0
|
|
|
|
| 17 |
|
| 18 |
# Utility libraries
|
| 19 |
numpy==1.24.4
|
| 20 |
urllib3==2.0.7
|
| 21 |
certifi==2023.11.17
|
| 22 |
-
charset-normalizer==3.3.
|
| 23 |
idna==3.6
|
| 24 |
|
| 25 |
# Optional: for better JSON handling
|
|
@@ -30,8 +29,7 @@ openpyxl==3.1.2
|
|
| 30 |
python-docx==1.1.0
|
| 31 |
|
| 32 |
# Security and compatibility
|
| 33 |
-
cryptography==
|
| 34 |
PyYAML==6.0.1
|
| 35 |
|
| 36 |
-
beautifulsoup4==4.12.3
|
| 37 |
-
serpapi==1.0.0
|
|
|
|
| 3 |
requests>=2.32.3
|
| 4 |
pandas==2.1.4
|
| 5 |
|
| 6 |
+
# Smolagents and AI dependencies
|
| 7 |
smolagents==1.18.0
|
|
|
|
| 8 |
transformers==4.45.2
|
| 9 |
torch==2.1.2
|
| 10 |
tokenizers==0.20.0
|
| 11 |
|
|
|
|
| 12 |
# Tool dependencies
|
| 13 |
duckduckgo-search==3.9.6
|
| 14 |
python-dotenv==1.0.0
|
| 15 |
+
serpapi==0.1.5 # ✅ latest available version on PyPI
|
| 16 |
|
| 17 |
# Utility libraries
|
| 18 |
numpy==1.24.4
|
| 19 |
urllib3==2.0.7
|
| 20 |
certifi==2023.11.17
|
| 21 |
+
charset-normalizer==3.2.0 # ✅ compatible with Python <= 3.10
|
| 22 |
idna==3.6
|
| 23 |
|
| 24 |
# Optional: for better JSON handling
|
|
|
|
| 29 |
python-docx==1.1.0
|
| 30 |
|
| 31 |
# Security and compatibility
|
| 32 |
+
cryptography==40.0.2 # ✅ compatible with Python <= 3.10
|
| 33 |
PyYAML==6.0.1
|
| 34 |
|
| 35 |
+
beautifulsoup4==4.12.2 # ✅ last version supporting Python <= 3.10
|
|
|