Skip to content

Commit cb09517

Browse files
committed
Updated translate requirements
1 parent 4955a1b commit cb09517

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Required for the heroku buildpack
22
-r requirements/prod.txt
3+
-r requirements/translate-cpu.txt

requirements/translate-cpu.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Requirements for machine translations, manually managed.
22

33
# Only install the CPU version of torch when available (linux)
4-
--find-links https://download.pytorch.org/whl/cpu/torch_stable.html
5-
torch==2.3.1+cpu
6-
argostranslate==1.9.6
4+
# --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
5+
https://download.pytorch.org/whl/cpu/torch-2.3.1%2Bcpu-cp312-cp312-linux_x86_64.whl
6+
argostranslate==1.9.6 --hash=sha256:285b194bd64d65617ee2fa8969a40ce790c6b3acf875f94f1d2b0373f3ae691c

0 commit comments

Comments
 (0)