Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,17 +50,17 @@ def generate(prompt, history,
|
|
| 50 |
yield output
|
| 51 |
return output
|
| 52 |
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
|
| 60 |
# Gradio-Demo konfigurieren
|
| 61 |
theme = 'syddharth/gray-minimal'
|
| 62 |
demo = gr.ChatInterface(fn=generate,
|
| 63 |
-
chatbot=
|
| 64 |
title="Ailexs Mixtral 8x7b Chat",
|
| 65 |
theme=theme)
|
| 66 |
|
|
|
|
| 50 |
yield output
|
| 51 |
return output
|
| 52 |
|
| 53 |
+
# Chatbot-Name zu ailexchatbot geändert
|
| 54 |
+
ailexchatbot = gr.Chatbot(avatar_images=["./user.png", "./bot.png"],
|
| 55 |
+
bubble_full_width=False,
|
| 56 |
+
show_label=False,
|
| 57 |
+
show_copy_button=True,
|
| 58 |
+
likeable=True,)
|
| 59 |
|
| 60 |
# Gradio-Demo konfigurieren
|
| 61 |
theme = 'syddharth/gray-minimal'
|
| 62 |
demo = gr.ChatInterface(fn=generate,
|
| 63 |
+
chatbot=ailexchatbot,
|
| 64 |
title="Ailexs Mixtral 8x7b Chat",
|
| 65 |
theme=theme)
|
| 66 |
|