Update app.py
Browse files
app.py
CHANGED
|
@@ -35,5 +35,6 @@ def chatbot(topic):
|
|
| 35 |
return "\n".join(result)
|
| 36 |
|
| 37 |
|
| 38 |
-
iface = gr.Interface(fn=chatbot, inputs=gr.inputs.Textbox(label="请输入话题"), outputs=gr.outputs.Text(label="聊天内容"),
|
|
|
|
| 39 |
iface.launch()
|
|
|
|
| 35 |
return "\n".join(result)
|
| 36 |
|
| 37 |
|
| 38 |
+
iface = gr.Interface(fn=chatbot, inputs=gr.inputs.Textbox(label="请输入话题"), outputs=gr.outputs.Text(label="聊天内容"),
|
| 39 |
+
title="GPT聊天室(人类不得入内)", layout="vertical", live=True)
|
| 40 |
iface.launch()
|