Skip to content

Commit

Permalink
dependabot: fix #18, #19, #23, #24 and #25
Browse files Browse the repository at this point in the history
* updated pillow to 10.3.0, gunicorn to 22.0.0 and typing-extensions to >= 4.3.0

Signed-off-by: Soumyendra Shrivastava <[email protected]>
  • Loading branch information
soumyendra98 committed Apr 19, 2024
1 parent 8b80d3e commit 2df6cae
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion transformers/echo/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
A simple echo transformation using FastAPI framework and Gunivorn and Uvicorn webserver.
A simple echo transformation using FastAPI framework and Gunicorn and Uvicorn webserver.
Steps to run:
$ # with uvicorn
Expand Down
2 changes: 1 addition & 1 deletion transformers/face_detection/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Detecting Faces w/ SSD model (SSD: Single Shot MultiBox Detector) using FastAPI framework
and Gunivorn and Uvicorn webserver.
and Gunicorn and Uvicorn webserver.
Steps to run:
$ # with uvicorn
Expand Down
2 changes: 1 addition & 1 deletion transformers/hello_world/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fastapi>=0.109.1
uvicorn[standard]===0.23.2
gunicorn==21.2.0
gunicorn==22.0.0
aiohttp>=3.9.2
2 changes: 1 addition & 1 deletion transformers/keras_preprocess/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Transorming images with Keras API using FastAPI framework and Gunivorn and Uvicorn webserver.
Transorming images with Keras API using FastAPI framework and Gunicorn and Uvicorn webserver.
Steps to run:
$ # with uvicorn
Expand Down
4 changes: 2 additions & 2 deletions transformers/keras_preprocess/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
fastapi>=0.109.1
uvicorn==0.24.0.post1
gunicorn==21.2.0
gunicorn==22.0.0
aiohttp>=3.9.2
pillow==10.2.0
pillow==10.3.0
scipy==1.10.1
keras==2.12.0
tensorflow==2.12.0
3 changes: 2 additions & 1 deletion transformers/tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ pytest
tensorflow
opencv-python
aiofiles
kaggle
kaggle
typing-extensions>=4.3.0
2 changes: 1 addition & 1 deletion transformers/tests/test_keras_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import logging
import io

from keras.preprocessing.image import (
from tensorflow.keras.preprocessing.image import (
ImageDataGenerator,
load_img,
array_to_img,
Expand Down
2 changes: 1 addition & 1 deletion transformers/torchvision_preprocess/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Transorming images with Keras API using FastAPI framework and Gunivorn and Uvicorn webserver.
Transorming images with Keras API using FastAPI framework and Gunicorn and Uvicorn webserver.
Steps to run:
$ # with uvicorn
Expand Down
4 changes: 2 additions & 2 deletions transformers/torchvision_preprocess/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fastapi>=0.109.1
uvicorn==0.24.0.post1
gunicorn==21.2.0
gunicorn==22.0.0
aiohttp>=3.9.2
pillow==10.2.0
pillow==10.3.0
torchvision==0.16.1

0 comments on commit 2df6cae

Please sign in to comment.