Spaces:
Paused
Paused
Create requirements.txt
Browse files- requirements.txt +27 -0
requirements.txt
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# First, let me fix the existing files and create all remaining ones
|
| 2 |
+
import os
|
| 3 |
+
|
| 4 |
+
base_dir = "/mnt/agents/output/swarm-cli"
|
| 5 |
+
os.makedirs(base_dir, exist_ok=True)
|
| 6 |
+
os.makedirs(f"{base_dir}/tools", exist_ok=True)
|
| 7 |
+
os.makedirs(f"{base_dir}/agents", exist_ok=True)
|
| 8 |
+
os.makedirs(f"{base_dir}/sandbox", exist_ok=True)
|
| 9 |
+
|
| 10 |
+
# File 1: requirements.txt
|
| 11 |
+
with open(f"{base_dir}/requirements.txt", "w") as f:
|
| 12 |
+
f.write("""groq>=0.9.0
|
| 13 |
+
google-generativeai>=0.8.0
|
| 14 |
+
python-dotenv>=1.0.0
|
| 15 |
+
requests>=2.31.0
|
| 16 |
+
beautifulsoup4>=4.12.0
|
| 17 |
+
lxml>=4.9.0
|
| 18 |
+
markdown>=3.5.0
|
| 19 |
+
rich>=13.7.0
|
| 20 |
+
gradio>=4.0.0
|
| 21 |
+
aiohttp>=3.9.0
|
| 22 |
+
Pillow>=10.0.0
|
| 23 |
+
pypdf>=4.0.0
|
| 24 |
+
python-magic>=0.4.27
|
| 25 |
+
""")
|
| 26 |
+
|
| 27 |
+
print("requirements.txt done")
|