chengli-thu
commited on
Commit
•
af11072
1
Parent(s):
5f636db
Update README.md
Browse files
README.md
CHANGED
@@ -8,10 +8,10 @@ license: cc-by-4.0
|
|
8 |
```python
|
9 |
from chatharuhi import ChatHaruhi
|
10 |
|
11 |
-
chatbot = ChatHaruhi( role_from_hf = 'chengli-thu/
|
12 |
llm = 'openai')
|
13 |
|
14 |
-
response = chatbot.chat(role='
|
15 |
print(response)
|
16 |
```
|
17 |
|
|
|
8 |
```python
|
9 |
from chatharuhi import ChatHaruhi
|
10 |
|
11 |
+
chatbot = ChatHaruhi( role_from_hf = 'chengli-thu/yuebuqun', \
|
12 |
llm = 'openai')
|
13 |
|
14 |
+
response = chatbot.chat(role='令狐冲', text = '师父,我来了')
|
15 |
print(response)
|
16 |
```
|
17 |
|