Spaces:
Runtime error
Runtime error
Commit ·
4d3cd06
1
Parent(s): d17516a
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,9 +14,9 @@ def chat(query, history=[]):
|
|
| 14 |
_, history = model.chat(tokenizer, query, history, max_length=512)
|
| 15 |
return history, history
|
| 16 |
|
| 17 |
-
description = "
|
| 18 |
title = "ChatGLM-6B Chatbot"
|
| 19 |
-
examples = [["Hello
|
| 20 |
|
| 21 |
chatbot_interface = gr.Interface(
|
| 22 |
fn=chat,
|
|
|
|
| 14 |
_, history = model.chat(tokenizer, query, history, max_length=512)
|
| 15 |
return history, history
|
| 16 |
|
| 17 |
+
description = "ChatGLM-6B 是一个开源的、支持中英双语问答的对话语言模型,基于 General Language Model (GLM) 架构,具有 62 亿参数。 \n"
|
| 18 |
title = "ChatGLM-6B Chatbot"
|
| 19 |
+
examples = [["Hello"], ["你好"], ["介绍清华"]]
|
| 20 |
|
| 21 |
chatbot_interface = gr.Interface(
|
| 22 |
fn=chat,
|