Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
44 |
-
|
45 |
-
gr.ChatInterface(
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
|
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)
|