Tomoniai commited on
Commit
a000d3e
1 Parent(s): b79e737

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -9
app.py CHANGED
@@ -40,12 +40,13 @@ def generate(
40
  return output
41
 
42
  mychatbot = gr.Chatbot(
43
- avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel")
44
-
45
- gr.ChatInterface(
46
- fn=generate,
47
- chatbot=mychatbot,
48
- title="Tomoniai's Mixtral Chat",
49
- retry_btn=None,
50
- undo_btn=None
51
- ).launch(show_api=False)
 
 
40
  return output
41
 
42
  mychatbot = gr.Chatbot(
43
+ avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_share_button=False, show_copy_button=True, likeable=True)
44
+
45
+ demo = gr.ChatInterface(fn=generate,
46
+ chatbot=mychatbot,
47
+ title="Tomoniai's Mixtral Chat",
48
+ retry_btn=None,
49
+ undo_btn=None
50
+ )
51
+
52
+ demo.queue().launch(show_api=False)