You've already forked LibreTranslate
mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-11-23 22:04:43 +02:00
Fix torch version for Python < 3.12
This commit is contained in:
@@ -60,8 +60,8 @@ dependencies = [
|
||||
"prometheus-client ==0.15.0",
|
||||
"polib ==1.1.1",
|
||||
"packaging ==23.1",
|
||||
"torch ==2.4.0;python_version<'3.9'",
|
||||
"torch ==2.5.0;python_version>='3.9'",
|
||||
"torch ==2.4.0;python_version<'3.12'",
|
||||
"torch ==2.5.0;python_version>='3.12'",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
|
||||
Reference in New Issue
Block a user