Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -46,15 +46,13 @@ def generate(
|
|
46 |
return output
|
47 |
|
48 |
mychatbot = gr.Chatbot(
|
49 |
-
avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,
|
50 |
-
)
|
51 |
|
52 |
-
demo = gr.
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
)
|
59 |
|
60 |
demo.queue().launch(show_api=False)
|
|
|
46 |
return output
|
47 |
|
48 |
mychatbot = gr.Chatbot(
|
49 |
+
avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
|
|
|
50 |
|
51 |
+
demo = gr.ChatInterface(fn=generate,
|
52 |
+
chatbot=mychatbot,
|
53 |
+
title="Tomoniai's Mixtral 8x7b Chat",
|
54 |
+
retry_btn=None,
|
55 |
+
undo_btn=None
|
56 |
+
)
|
|
|
57 |
|
58 |
demo.queue().launch(show_api=False)
|