-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pipfile
36 lines (32 loc) · 857 Bytes
/
Pipfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
pylint = "*"
autopep8 = "*"
watchdog = "*"
argh = "*"
pyyaml = "*"
[packages]
flask = "*"
spacy = ">=3.4.4,<4.0.0"
spacytextblob = "*"
psutil = "*"
keybert = {extras = ["spacy"], version = "*"}
torch = "<1.13.0"
flask-limiter = "*"
werkzeug = "*"
gunicorn = "*"
redis = "*"
[requires]
python_version = "3.8"
[scripts]
python = "python"
docker = "docker-compose up"
app = "gunicorn -b :8000 -w 1 --threads 15 --log-level debug application"
flask = "env FLASK_APP=application FLASK_RUN_HOST=0.0.0.0 FLASK_RUN_PORT=8000 flask run"
dev = "watchmedo auto-restart --recursive -p '*.py;*.yaml' env FLASK_APP=application FLASK_DEBUG=1 FLASK_RUN_PORT=8000 TOKENIZERS_PARALLELISM=false flask run"
lint = "pylint application"
download = "./download.sh"
deploy = "eb deploy"