fengtc commited on
Commit
0c81c3f
·
1 Parent(s): b4e9773

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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?"],).queue().launch(auth=(USER, PASS))
 
 
 
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))