Tomoniai commited on
Commit
ef51bab
·
1 Parent(s): 9be5e2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -38,11 +38,16 @@ def generate(
38
  yield output
39
  return output
40
 
 
 
 
 
41
  demo = gr.ChatInterface(fn=generate,
 
42
  title="Mistral Chat",
43
  retry_btn=None,
44
  undo_btn=None,
45
  clear_btn=None
46
  )
47
 
48
- demo.queue().launch()
 
38
  yield output
39
  return output
40
 
41
+
42
+ mychatbot = gr.Chatbot(
43
+ avatar_images=["./user.png", "./bot.png"], bubble_full_width=False, show_label=False, show_copy_button=True,)
44
+
45
  demo = gr.ChatInterface(fn=generate,
46
+ chatbot=mychatbot,
47
  title="Mistral Chat",
48
  retry_btn=None,
49
  undo_btn=None,
50
  clear_btn=None
51
  )
52
 
53
+ demo.queue().launch(show_api=False)