Skip to content

Commit

Permalink
update CONTRIBUTING.md and README.md for new users
Browse files Browse the repository at this point in the history
  • Loading branch information
map9959 committed Nov 25, 2024
1 parent b35257b commit b018924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Then, run:

```
$ pip install -U setuptools
$ pip install -r requirements-test.txt
$ pip install -r requirements-dev.txt
$ pip install -e .
```

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cropper = Cropper()
cropped_array = cropper.crop('portrait.png')

# Save the cropped image with PIL if a face was detected:
if cropped_array:
if cropped_array is not None:
cropped_image = Image.fromarray(cropped_array)
cropped_image.save('cropped.png')
~~~
Expand Down

0 comments on commit b018924

Please sign in to comment.