Liusuthu commited on
Commit
fe4ba4b
·
verified ·
1 Parent(s): 40e6fd7

Update chat.py

Browse files
Files changed (1) hide show
  1. chat.py +3 -2
chat.py CHANGED
@@ -40,8 +40,9 @@ def predict(message, history):
40
  chat=gr.ChatInterface(
41
  predict,
42
  chatbot=gr.Chatbot(
43
- height=500,
44
  bubble_full_width=False,
45
- avatar_images=(None, None),
 
46
  ),
47
  )
 
40
  chat=gr.ChatInterface(
41
  predict,
42
  chatbot=gr.Chatbot(
43
+ height=400,
44
  bubble_full_width=False,
45
+ avatar_images=(None, (os.path.join(os.path.dirname(__file__), "asset\bot_ava.png"))),
46
+ likeable=True,
47
  ),
48
  )