Update app.py
Browse files
app.py
CHANGED
@@ -18,12 +18,12 @@ def CustomChatGPT(user_input):
|
|
18 |
return ChatGPT_reply
|
19 |
|
20 |
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"
|
21 |
-
title = "
|
22 |
examples = [["Hello?"], ["你好。"], ["介绍清华"]]
|
23 |
demo = gr.Interface(fn=CustomChatGPT,
|
24 |
description = description,
|
25 |
title = title,
|
26 |
examples=examples,
|
27 |
-
inputs=gr.inputs.Textbox(label="Question"), outputs=gr.outputs.Textbox(label="Answer")
|
28 |
|
29 |
demo.launch()
|
|
|
18 |
return ChatGPT_reply
|
19 |
|
20 |
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"
|
21 |
+
title = "I am Stephane AI and my name is Cameron"
|
22 |
examples = [["Hello?"], ["你好。"], ["介绍清华"]]
|
23 |
demo = gr.Interface(fn=CustomChatGPT,
|
24 |
description = description,
|
25 |
title = title,
|
26 |
examples=examples,
|
27 |
+
inputs=gr.inputs.Textbox(label="Question"), outputs=gr.outputs.Textbox(label="Answer"))
|
28 |
|
29 |
demo.launch()
|