update colab install & fix colab path

This commit is contained in:
yichuan520030910320
2025-07-26 18:07:31 -07:00
parent 73927b68ef
commit c87c0fe662
4 changed files with 143 additions and 8 deletions

View File

@@ -14,8 +14,8 @@
"outputs": [],
"source": [
"# install this if you are using colab\n",
"! pip install leann\n",
"\n",
"! uv pip install leann-core leann-backend-hnsw --no-deps\n",
"! uv pip install leann --no-deps\n",
"# For Colab environment, we need to set some environment variables\n",
"import os\n",
"os.environ['LEANN_LOG_LEVEL'] = 'INFO' # Enable more detailed logging"