Skip to content

Commit

Permalink
fix typo on image and notebook (#226)
Browse files Browse the repository at this point in the history
* fix typo on image and notebook

* remove full stop after google colab button
  • Loading branch information
iulusoy authored Nov 29, 2024
1 parent 4add286 commit ab484ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.\
Expand Down
6 changes: 3 additions & 3 deletions ammico/notebooks/DemoNotebook_ammico.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Import the ammico package."
"## Import the ammico package"
]
},
{
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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))"
]
},
{
Expand Down
Binary file modified docs/source/_static/summary_detector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ab484ab

Please sign in to comment.