Skip to content

Commit

Permalink
Relax dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Dexterp37 committed Dec 5, 2023
1 parent 790760b commit 086f383
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "fontina"
description = "Visual font recognition (VFR) library"
authors = [{ name = "Alessio Placitelli", email = "[email protected]" }]
dependencies = [
"albumentations==1.3.1",
"albumentations>=1.3.1",
"trdg==1.8.0",
# We need to force the pillow version because of the use
# of removed APIs in trdg 1.8.0 (e.g. `ImageFont.getsize`).
Expand All @@ -13,8 +13,8 @@ dependencies = [
"rstr==3.2.1",
# TODO: On Windows, this must be manual.
# pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu117
"torch==2.0.1",
"torchvision==0.15.2",
"torch>=2.0.1",
"torchvision>=0.15.2",
]
dynamic = ["version"]
requires-python = ">=3.10"
Expand Down

0 comments on commit 086f383

Please sign in to comment.