Liusuthu commited on
Commit
2f936e4
β€’
1 Parent(s): e163807

Update chat.py

Browse files
Files changed (1) hide show
  1. chat.py +5 -1
chat.py CHANGED
@@ -37,4 +37,8 @@ def predict(message, history):
37
  partial_message = partial_message + chunk.choices[0].delta.content
38
  yield partial_message
39
 
40
- chat=gr.ChatInterface(predict,fill_height=True)
 
 
 
 
 
37
  partial_message = partial_message + chunk.choices[0].delta.content
38
  yield partial_message
39
 
40
+ chat=gr.ChatInterface(
41
+ predict,
42
+ fill_height=True,
43
+ chatbot=gr.Chatbot(height=500,bubble_full_width=False,),
44
+ )