Agent Zero AI framework
fix: import sentence_transfomers on pure cpu was failing (#429)
ehl0wr0ldf37974c3b14a
diff --git a/docker/base/fs/ins/install_python.sh b/docker/base/fs/ins/install_python.shindex 591f36ede..2cb8d4c33 100644--- a/docker/base/fs/ins/install_python.sh+++ b/docker/base/fs/ins/install_python.sh@@ -46,7 +46,7 @@ source /opt/venv/bin/activate# upgrade pip and install static packagespip install --upgrade pip ipython requests# Install some packages in specific variants-pip install torch --index-url https://download.pytorch.org/whl/cpu+pip install torch==2.7.0+cpu torchvision==0.22.0+cpu --index-url https://download.pytorch.org/whl/cpuecho "====================PYTHON END===================="diff --git a/requirements.txt b/requirements.txtindex 91ee3b7d9..184c6693f 100644--- a/requirements.txt+++ b/requirements.txt@@ -29,8 +29,11 @@ playwright==1.52.0pypdf==4.3.1python-dotenv==1.1.0pytz==2024.2-sentence-transformers==3.0.1-tiktoken==0.8.0+sentence-transformers[cpu]==4.1.0+tiktoken==0.9.0+torch[cpu]==2.7.0+cpu+torchvision[cpu]==0.22.0+cpu+transformers[cpu]==4.52.4unstructured==0.15.13unstructured-client==0.25.9webcolors==24.6.0