Spaces:
Runtime error
Runtime error
freemt
commited on
Commit
Β·
e010df7
1
Parent(s):
c471598
Bump to 0.1.1
Browse files- convbot/__init__.py +1 -1
- convbot/convbot.py +1 -1
- package.json +1 -1
- pyproject.toml +1 -1
- tests/test_convbot.py +1 -1
convbot/__init__.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
"""Init."""
|
2 |
-
__version__ = "0.1.
|
3 |
from .convbot import convbot, aconvbot
|
4 |
|
5 |
__all__ = (
|
|
|
1 |
"""Init."""
|
2 |
+
__version__ = "0.1.1"
|
3 |
from .convbot import convbot, aconvbot
|
4 |
|
5 |
__all__ = (
|
convbot/convbot.py
CHANGED
@@ -126,7 +126,7 @@ def aconvbot(
|
|
126 |
temperature: float = 0.75,
|
127 |
) -> str:
|
128 |
try:
|
129 |
-
_ = convbot(text,n_retries, max_length, do_sample, top_p, top_k, temperature)
|
130 |
except Exception as e:
|
131 |
logger.error(e)
|
132 |
raise
|
|
|
126 |
temperature: float = 0.75,
|
127 |
) -> str:
|
128 |
try:
|
129 |
+
_ = convbot(text, n_retries, max_length, do_sample, top_p, top_k, temperature)
|
130 |
except Exception as e:
|
131 |
logger.error(e)
|
132 |
raise
|
package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "convbot",
|
3 |
-
"version": "0.1.
|
4 |
"description": "description",
|
5 |
"main": "index.js",
|
6 |
"repository": "git@github.com:ffreemt/convbot.git",
|
|
|
1 |
{
|
2 |
"name": "convbot",
|
3 |
+
"version": "0.1.1",
|
4 |
"description": "description",
|
5 |
"main": "index.js",
|
6 |
"repository": "git@github.com:ffreemt/convbot.git",
|
pyproject.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
[tool.poetry]
|
2 |
name = "convbot"
|
3 |
-
version = "0.1.
|
4 |
description = "pack_name descr "
|
5 |
authors = ["ffreemt"]
|
6 |
license = "MIT"
|
|
|
1 |
[tool.poetry]
|
2 |
name = "convbot"
|
3 |
+
version = "0.1.1"
|
4 |
description = "pack_name descr "
|
5 |
authors = ["ffreemt"]
|
6 |
license = "MIT"
|
tests/test_convbot.py
CHANGED
@@ -10,7 +10,7 @@ pytestmark = pytest.mark.asyncio
|
|
10 |
|
11 |
def test_version():
|
12 |
"""Test version."""
|
13 |
-
assert __version__ == "0.1
|
14 |
|
15 |
|
16 |
def test_sanity():
|
|
|
10 |
|
11 |
def test_version():
|
12 |
"""Test version."""
|
13 |
+
assert __version__[:3] == "0.1"
|
14 |
|
15 |
|
16 |
def test_sanity():
|