From b888db745ae8625dd5f9e43e3f5f37f00286eeaf Mon Sep 17 00:00:00 2001 From: Daniel Gatis Date: Wed, 31 May 2023 19:25:46 -0300 Subject: [PATCH] fix dependencies --- requirements.txt | 38 +++++++++++++++++++------------------- setup.py | 40 ++++++++++++++++++++-------------------- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/requirements.txt b/requirements.txt index 28458edc..63962f43 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,19 +1,19 @@ -aiohttp==3.8.1 -asyncer==0.0.2 -click==8.1.3 -fastapi==0.92.0 -filetype==1.2.0 -gradio==3.32.0 -imagehash==4.3.1 -numpy==1.23.5 -onnxruntime==1.14.1 -opencv-python-headless==4.6.0.66 -pillow==9.3.0 -pooch==1.6.0 -pymatting==1.1.8 -python-multipart==0.0.5 -scikit-image==0.19.3 -scipy==1.9.3 -tqdm==4.64.1 -uvicorn==0.20.0 -watchdog==2.1.9 +aiohttp +asyncer +click +fastapi +filetype +gradio +imagehash +numpy +onnxruntime +opencv-python-headless +pillow +pooch +pymatting +python-multipart +scikit-image +scipy +tqdm +uvicorn +watchdog diff --git a/setup.py b/setup.py index 6f0345a3..17298db8 100644 --- a/setup.py +++ b/setup.py @@ -37,25 +37,25 @@ packages=["rembg", "rembg.sessions", "rembg.commands"], python_requires=">3.7, <3.11", install_requires=[ - "aiohttp>=3.8.1", - "asyncer>=0.0.2", - "click>=8.1.3", - "fastapi>=0.92.0", - "filetype>=1.2.0", - "gradio>=3.32.0", - "imagehash>=4.3.1", - "numpy>=1.23.5", - "onnxruntime>=1.14.1", - "opencv-python-headless>=4.6.0.66", - "pillow>=9.3.0", - "pooch>=1.6.0", - "pymatting>=1.1.8", - "python-multipart>=0.0.5", - "scikit-image>=0.19.3", - "scipy>=1.9.3", - "tqdm>=4.64.1", - "uvicorn>=0.20.0", - "watchdog>=2.1.9", + "aiohttp", + "asyncer", + "click", + "fastapi", + "filetype", + "gradio", + "imagehash", + "numpy", + "onnxruntime", + "opencv-python-headless", + "pillow", + "pooch", + "pymatting", + "python-multipart", + "scikit-image", + "scipy", + "tqdm", + "uvicorn", + "watchdog", ], entry_points={ "console_scripts": [ @@ -63,7 +63,7 @@ ], }, extras_require={ - "gpu": ["onnxruntime-gpu>=1.14.1"], + "gpu": ["onnxruntime-gpu"], }, version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(),