Spaces:
Runtime error
Runtime error
ffreemt
commited on
Commit
·
5a69b50
1
Parent(s):
c584893
Fix: --find-links https://download.pytorch.org/whl/cpu\ntorch, sentence-transformers==2.2.0 in reuqirements.txt
Browse files- pyproject.toml +0 -1
- requirements.txt +4 -2
pyproject.toml
CHANGED
|
@@ -31,7 +31,6 @@ streamlit-aggrid = "^0.2.3"
|
|
| 31 |
typer = "^0.4.1"
|
| 32 |
XlsxWriter = "^3.0.3"
|
| 33 |
seg-text = "^0.1.2"
|
| 34 |
-
sep-text = "^0.1.0"
|
| 35 |
|
| 36 |
[tool.poe.executor]
|
| 37 |
type = "poetry"
|
|
|
|
| 31 |
typer = "^0.4.1"
|
| 32 |
XlsxWriter = "^3.0.3"
|
| 33 |
seg-text = "^0.1.2"
|
|
|
|
| 34 |
|
| 35 |
[tool.poe.executor]
|
| 36 |
type = "poetry"
|
requirements.txt
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
# pip install torch==1.8.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
| 2 |
-
--find-links https://download.pytorch.org/whl/torch_stable.html
|
| 3 |
-
torch==1.8.0+cpu
|
|
|
|
|
|
|
| 4 |
|
| 5 |
# fix attempt: ImportError: cannot import name 'is_nltk_available' from 'transformers.utils.import_utils'
|
| 6 |
sentence-transformers==2.2.0
|
|
|
|
| 1 |
# pip install torch==1.8.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
| 2 |
+
# --find-links https://download.pytorch.org/whl/torch_stable.html
|
| 3 |
+
# torch==1.8.0+cpu
|
| 4 |
+
# pip3 install torch torchvision torchaudio --find-links https://download.pytorch.org/whl/cpu
|
| 5 |
+
torch
|
| 6 |
|
| 7 |
# fix attempt: ImportError: cannot import name 'is_nltk_available' from 'transformers.utils.import_utils'
|
| 8 |
sentence-transformers==2.2.0
|