Spaces:
Build error
Build error
Update description
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def chat(query, history=[]):
|
|
14 |
_, history = model.chat(tokenizer, query, history, max_length=512)
|
15 |
return history, history
|
16 |
|
17 |
-
description = "This is an unofficial chatbot application based on open source model ChatGLM-6B, running on cpu(
|
18 |
title = "ChatGLM-6B Chatbot"
|
19 |
examples = [["Hello?"], ["你好。"], ["介绍清华"]]
|
20 |
|
|
|
14 |
_, history = model.chat(tokenizer, query, history, max_length=512)
|
15 |
return history, history
|
16 |
|
17 |
+
description = "This is an unofficial chatbot application based on open source model ChatGLM-6B(https://github.com/THUDM/ChatGLM-6B), running on cpu(therefore max_length is limited to 512). \nIf you want to use this chat bot in your space, 'Duplicate this space' by click the button close to 'Linked Models'. \n"
|
18 |
title = "ChatGLM-6B Chatbot"
|
19 |
examples = [["Hello?"], ["你好。"], ["介绍清华"]]
|
20 |
|