convbot / pyproject.toml
freemt
Update gradio = "3.1.1" in pyproject.toml
435be46
[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"