Update app.py
Browse files
app.py
CHANGED
|
@@ -46,6 +46,12 @@ samir_chatbot = gr.Chatbot(bubble_full_width=True, show_label=False, show_copy_b
|
|
| 46 |
|
| 47 |
# Minimalistisches Theme und Konfiguration der Gradio-Demo
|
| 48 |
theme = 'syddharth/gray-minimal'
|
| 49 |
-
demo = gr.ChatInterface(fn=generate,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
demo.queue().launch(show_api=False)
|
|
|
|
| 46 |
|
| 47 |
# Minimalistisches Theme und Konfiguration der Gradio-Demo
|
| 48 |
theme = 'syddharth/gray-minimal'
|
| 49 |
+
demo = gr.ChatInterface(fn=generate,
|
| 50 |
+
chatbot=samir_chatbot,
|
| 51 |
+
title="Ailexs Mixtral 8x7b Chat",
|
| 52 |
+
theme=theme,
|
| 53 |
+
allow_flagging=False, # Diese Zeile entfernt die "Flag"-Option
|
| 54 |
+
allow_screenshot=False, # Diese Zeile entfernt die "Screenshot"-Option
|
| 55 |
+
)
|
| 56 |
|
| 57 |
demo.queue().launch(show_api=False)
|