fengtc commited on
Commit
3ca2e10
1 Parent(s): 5d77680

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -29,9 +29,8 @@ def predict(message, history):
29
  partial_message = partial_message + chunk['choices'][0]['delta']['content']
30
  yield partial_message
31
 
32
- gr.ChatInterface(predict,chatbot=gr.Chatbot(height=300),
33
  textbox=gr.Textbox(placeholder="Ask me a yes or no question", container=False, scale=7),
34
- title="Yes Man",
35
  description="Ask Yes Man any question",
36
- theme="soft",
37
- examples=["Hello", "Am I cool?", "Are tomatoes vegetables?"],).queue().launch(auth=(USER, PASS))
 
29
  partial_message = partial_message + chunk['choices'][0]['delta']['content']
30
  yield partial_message
31
 
32
+ gr.ChatInterface(predict,
33
  textbox=gr.Textbox(placeholder="Ask me a yes or no question", container=False, scale=7),
34
+ title="欢迎使用AI机器人",
35
  description="Ask Yes Man any question",
36
+ examples=["你是谁?", "Am I cool?", "Are tomatoes vegetables?"],).queue().launch(auth=(USER, PASS))