Spaces:
Build error
Build error
Fixed torch dependencies
Browse files- backend/pyproject.toml +0 -2
backend/pyproject.toml
CHANGED
@@ -19,13 +19,11 @@ transformers = "^4.35.2"
|
|
19 |
torch = [
|
20 |
{ url = "https://download.pytorch.org/whl/cpu/torch-2.1.1%2Bcpu-cp311-cp311-win_amd64.whl", markers = "sys_platform == 'win32'" },
|
21 |
{ url = "https://download.pytorch.org/whl/cpu/torch-2.1.1%2Bcpu-cp311-cp311-linux_x86_64.whl", markers = "sys_platform == 'linux'" },
|
22 |
-
{ url = "https://download.pytorch.org/whl/cpu/torch-2.1.1-cp311-none-macosx_11_0_arm64.whl", markers = "sys_platform == 'darwin'" },
|
23 |
]
|
24 |
## For GPU version: Windows and Linux and MacOS (arm64)
|
25 |
# torch = [
|
26 |
# { url = "https://download.pytorch.org/whl/cu121/torch-2.1.1%2Bcu121-cp311-cp311-win_amd64.whl", markers = "sys_platform == 'win32'" },
|
27 |
# { url = "https://download.pytorch.org/whl/cu121/torch-2.1.1%2Bcu121-cp311-cp311-linux_x86_64.whl", markers = "sys_platform == 'linux'" },
|
28 |
-
# { url = "https://download.pytorch.org/whl/cu121/torch-2.1.1-cp311-none-macosx_11_0_arm64.whl", markers = "sys_platform == 'darwin'" },
|
29 |
# ]
|
30 |
docx2txt = "^0.8"
|
31 |
|
|
|
19 |
torch = [
|
20 |
{ url = "https://download.pytorch.org/whl/cpu/torch-2.1.1%2Bcpu-cp311-cp311-win_amd64.whl", markers = "sys_platform == 'win32'" },
|
21 |
{ url = "https://download.pytorch.org/whl/cpu/torch-2.1.1%2Bcpu-cp311-cp311-linux_x86_64.whl", markers = "sys_platform == 'linux'" },
|
|
|
22 |
]
|
23 |
## For GPU version: Windows and Linux and MacOS (arm64)
|
24 |
# torch = [
|
25 |
# { url = "https://download.pytorch.org/whl/cu121/torch-2.1.1%2Bcu121-cp311-cp311-win_amd64.whl", markers = "sys_platform == 'win32'" },
|
26 |
# { url = "https://download.pytorch.org/whl/cu121/torch-2.1.1%2Bcu121-cp311-cp311-linux_x86_64.whl", markers = "sys_platform == 'linux'" },
|
|
|
27 |
# ]
|
28 |
docx2txt = "^0.8"
|
29 |
|