Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,4 +34,6 @@ def predict(message, history):
|
|
34 |
gr.ChatInterface(predict,
|
35 |
textbox=gr.Textbox(placeholder="请输入您的问题", container=False, scale=7),
|
36 |
title="欢迎使用AI机器人",
|
37 |
-
examples=["你是谁?", "Am I cool?", "Are tomatoes vegetables?"],
|
|
|
|
|
|
34 |
gr.ChatInterface(predict,
|
35 |
textbox=gr.Textbox(placeholder="请输入您的问题", container=False, scale=7),
|
36 |
title="欢迎使用AI机器人",
|
37 |
+
examples=["你是谁?", "Am I cool?", "Are tomatoes vegetables?"],
|
38 |
+
description="请避免输入有违公序良俗的问题,模型可能无法回答不合适的问题",)
|
39 |
+
.queue().launch(auth=(USER, PASS))
|