Spaces:
Runtime error
Runtime error
venv
Browse files- pyproject.toml +8 -8
- scripts/build.sh +9 -0
pyproject.toml
CHANGED
@@ -10,20 +10,20 @@ description = "Natural Language Understanding (text processing) for math symbols
|
|
10 |
readme = "README.md"
|
11 |
|
12 |
[tool.poetry.dependencies]
|
13 |
-
python = "^3.7"
|
14 |
editdistance = "*"
|
15 |
gradio = "3.14.*"
|
16 |
httpx = "0.23.*"
|
17 |
matplotlib = "3.6.*"
|
18 |
-
pandas = "1.5
|
19 |
-
pandas-gbq = "0.19
|
20 |
pytest = "7.2.*"
|
|
|
21 |
python-dotenv = "0.21.*"
|
22 |
-
scikit-learn = "^1.2"
|
23 |
-
scikit-image = "
|
24 |
-
spacy = "3.4.*"
|
25 |
-
torch = "1.12
|
26 |
-
transformers = "4.24
|
27 |
|
28 |
[tool.poetry.group.dev.dependencies]
|
29 |
pytest = "^7.2.1"
|
|
|
10 |
readme = "README.md"
|
11 |
|
12 |
[tool.poetry.dependencies]
|
|
|
13 |
editdistance = "*"
|
14 |
gradio = "3.14.*"
|
15 |
httpx = "0.23.*"
|
16 |
matplotlib = "3.6.*"
|
17 |
+
# pandas = "^1.5"
|
18 |
+
pandas-gbq = "^0.19"
|
19 |
pytest = "7.2.*"
|
20 |
+
python = "^3.7,<3.10"
|
21 |
python-dotenv = "0.21.*"
|
22 |
+
# scikit-learn = "^1.2"
|
23 |
+
# scikit-image = "*"
|
24 |
+
# spacy = "3.4.*"
|
25 |
+
# torch = "^1.12"
|
26 |
+
transformers = "^4.24"
|
27 |
|
28 |
[tool.poetry.group.dev.dependencies]
|
29 |
pytest = "^7.2.1"
|
scripts/build.sh
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
deactivate
|
2 |
+
pip install virtualenv
|
3 |
+
rm -rf .venv
|
4 |
+
python -m virtualenv .venv
|
5 |
+
source ./.venv/bin/activate
|
6 |
+
# pip install --upgrade scikit-learn
|
7 |
+
# pip install --upgrade transformers
|
8 |
+
# pip install --upgrade pandas
|
9 |
+
pip install --upgrade -e .
|