diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e87a3da4..ca2980f4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,7 +33,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip wheel build twine - pip install "git+https://github.com/squidfunk/mkdocs-material@master" pip install -e ".[dev]" --extra-index-url https://download.pytorch.org/whl/cpu - name: Check PyPI version shell: python diff --git a/docs/en/datasets/explorer/api.md b/docs/en/datasets/explorer/api.md index 7f0fe22b..a6b93004 100644 --- a/docs/en/datasets/explorer/api.md +++ b/docs/en/datasets/explorer/api.md @@ -192,8 +192,8 @@ You can also plot the results of a SQL query using the `plot_sql_query` method. exp = Explorer(data='coco128.yaml', model='yolov8n.pt') exp.create_embeddings_table() - df = exp.sql_query("WHERE labels LIKE '%person%' AND labels LIKE '%dog%'") - print(df.head()) + # plot the SQL Query + exp.plot_sql_query("WHERE labels LIKE '%person%' AND labels LIKE '%dog%' LIMIT 10") ``` ## 4. Advanced - Working with Embeddings Table diff --git a/pyproject.toml b/pyproject.toml index d0dd99fb..aefb6099 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,7 +89,7 @@ dev = [ "pytest", "pytest-cov", "coverage[toml]", - "mkdocs-material", + "mkdocs-material>=9.5.9", "mkdocstrings[python]", "mkdocs-jupyter", # for notebooks "mkdocs-redirects", # for 301 redirects