Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
upgrade werkzeug requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
anth2o committed May 22, 2020
1 parent d5805fc commit 32ede11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ ffmpeg-python
wget
requests
flask>=1.1.1
werkzeug==0.16.1 # It fixes the error: from werkzeug import FileStorage cannot import FileStorage.
werkzeug>=1.0.1
cached_property
2 changes: 1 addition & 1 deletion src/mot/serving/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import cv2
import numpy as np
from tqdm import tqdm
from werkzeug import FileStorage
from werkzeug.datastructures import FileStorage

from mot.object_detection.query_server import \
localizer_tensorflow_serving_inference
Expand Down
2 changes: 1 addition & 1 deletion src/mot/serving/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

from werkzeug import FileStorage
from werkzeug.datastructures import FileStorage
from werkzeug.utils import secure_filename


Expand Down

0 comments on commit 32ede11

Please sign in to comment.