File size: 1,082 Bytes
b78ad07
 
e010df7
ec9d18e
b78ad07
 
ec9d18e
b78ad07
 
 
 
 
 
 
 
 
435be46
b78ad07
 
 
 
 
 
 
 
 
 
 
 
ec9d18e
b78ad07
 
 
 
 
 
 
666708d
b78ad07
 
 
 
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
37
38
39
40
41
42
43
[tool.poetry]
name = "convbot"
version = "0.1.1"
description = "A conversational bot based on huggingface transformers"
authors = ["ffreemt"]
license = "MIT"
readme = "README1.md"
repository = "https://github.com/ffreemt/convbot"
include = ["LICENSE"]

[tool.poetry.dependencies]
python = "^3.7"
# python = "^3.6.7"
logzero = "^1.7.0"
transformers = "^4.9.0"
torch = {version = "^1.9.0", python = "^3.7", platform = "linux"}
gradio = "^3.1.1"

[tool.poe.executor]
type = "poetry"

[tool.poe.tasks]
test = "pytest tests"
build = "poetry build"
_publish = "poetry publish"
release = ["test", "build", "_publish"]
lint = { cmd = "pylint convbot" }
format = "black tests convbot"
tunnel = {cmd ="ssh -CN ip_or_hostname_defined_in_hosts -L 9091:127.0.0.1:9091"}
export = "poetry export --without-hashes -f requirements.txt -o requirements.txt"

[tool.poetry.dev-dependencies]
pytest = "^5.2"
flake8 = "^3.9.2"
pep257 = "^0.7.0"
tbump = "^6.3.2"
poethepoet = "^0.10.0"
pytest-asyncio = "^0.14.0"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"