Spaces:
Runtime error
Runtime error
freemt
commited on
Commit
Β·
7ad3a9f
1
Parent(s):
ff9ac06
Bump to 0.1.1
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ prin(convertbot("How are you?"))
|
|
24 |
# I am good # or along that line
|
25 |
```
|
26 |
|
27 |
-
The async version `aconvbot`,
|
28 |
```python
|
29 |
from convbot import aconvbot
|
30 |
|
@@ -38,6 +38,17 @@ Interactive
|
|
38 |
```bash
|
39 |
python -m convbot
|
40 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
## Not tested in Windows 10 and Mac
|
42 |
|
43 |
The module uses pytorch that is installed differently in Windows than in Linux. To run `convbot` in Windows or Mac, you may give it a spin by cloning the repo (git clone [https://github.com/ffreemt/convbot](https://github.com/ffreemt/convbot)) and installing pytorch manually.
|
|
|
24 |
# I am good # or along that line
|
25 |
```
|
26 |
|
27 |
+
The async version `aconvbot`, potentially for `fastapi` or `Nonebot` plugins and such, is rather artificial since it's based on `ThreadPoolExecutor`. Hence it's not intended for production. You probably should not spawn too many instances.
|
28 |
```python
|
29 |
from convbot import aconvbot
|
30 |
|
|
|
38 |
```bash
|
39 |
python -m convbot
|
40 |
```
|
41 |
+
|
42 |
+
2021-07-24 03:11:19.748518: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
|
43 |
+
Bot: Talk to me (type quit to exit)
|
44 |
+
You: How are you?
|
45 |
+
Bot: I'm good, you?
|
46 |
+
You: pretty good. how is the weather there?
|
47 |
+
Bot: It's pretty cold.
|
48 |
+
You: really?
|
49 |
+
Bot: I don't have a heat source.
|
50 |
+
You:
|
51 |
+
|
52 |
## Not tested in Windows 10 and Mac
|
53 |
|
54 |
The module uses pytorch that is installed differently in Windows than in Linux. To run `convbot` in Windows or Mac, you may give it a spin by cloning the repo (git clone [https://github.com/ffreemt/convbot](https://github.com/ffreemt/convbot)) and installing pytorch manually.
|