Spaces:
Sleeping
Sleeping
Commit
·
de849fc
1
Parent(s):
5f8c2e7
Update app.py
Browse files
app.py
CHANGED
@@ -51,15 +51,18 @@ def generate(
|
|
51 |
yield output
|
52 |
return output
|
53 |
|
54 |
-
|
55 |
mychatbot = gr.Chatbot(
|
56 |
-
avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,
|
|
|
57 |
|
58 |
-
demo = gr.ChatInterface(
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
|
|
|
|
64 |
|
65 |
demo.queue().launch(show_api=False)
|
|
|
|
51 |
yield output
|
52 |
return output
|
53 |
|
|
|
54 |
mychatbot = gr.Chatbot(
|
55 |
+
avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,
|
56 |
+
)
|
57 |
|
58 |
+
demo = gr.ChatInterface(
|
59 |
+
fn=generate,
|
60 |
+
chatbot=mychatbot,
|
61 |
+
title="Tomoniai's Mixtral 8x7b Chat",
|
62 |
+
retry_btn=None,
|
63 |
+
undo_btn=None,
|
64 |
+
theme="ParityError/Interstellar" # Hinzufügen des Themes hier
|
65 |
+
)
|
66 |
|
67 |
demo.queue().launch(show_api=False)
|
68 |
+
|