diff --git a/README.md b/README.md index 47f97336..a2c46128 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ This will install the package and its dependencies locally. If after installatio ## Usage -The main demonstration notebook can be found in the `notebooks` folder and also on google colab: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ssciwr/ammico/blob/main/ammico/notebooks/DemoNotebook_ammico.ipynb). +The main demonstration notebook can be found in the `notebooks` folder and also on google colab: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ssciwr/ammico/blob/main/ammico/notebooks/DemoNotebook_ammico.ipynb) There are further sample notebooks in the `notebooks` folder for the more experimental features: 1. Topic analysis: Use the notebook `get-text-from-image.ipynb` to analyse the topics of the extraced text.\ diff --git a/ammico/notebooks/DemoNotebook_ammico.ipynb b/ammico/notebooks/DemoNotebook_ammico.ipynb index aaf992f9..9ae79592 100644 --- a/ammico/notebooks/DemoNotebook_ammico.ipynb +++ b/ammico/notebooks/DemoNotebook_ammico.ipynb @@ -89,7 +89,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Import the ammico package." + "## Import the ammico package" ] }, { @@ -171,7 +171,6 @@ "metadata": {}, "outputs": [], "source": [ - "%pwd\n", "image_dict = ammico.find_files(\n", " # path = \"/content/drive/MyDrive/misinformation-data/\",\n", " path=str(data_path),\n", @@ -273,7 +272,8 @@ "# dump file name\n", "dump_file = \"dump_file.csv\"\n", "# dump every N images \n", - "dump_every = 10" + "dump_every = 10\n", + "print(len(image_dict))" ] }, { diff --git a/docs/source/_static/summary_detector.png b/docs/source/_static/summary_detector.png index dd716e70..07d6da3e 100644 Binary files a/docs/source/_static/summary_detector.png and b/docs/source/_static/summary_detector.png differ