Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,18 @@ def generate(
|
|
40 |
return output
|
41 |
|
42 |
|
|
|
|
|
|
|
43 |
mychatbot = gr.Chatbot(
|
44 |
-
avatar_images=["./user.png", "./botm.png"],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
demo = gr.ChatInterface(fn=generate,
|
47 |
chatbot=mychatbot,
|
|
|
40 |
return output
|
41 |
|
42 |
|
43 |
+
# mychatbot = gr.Chatbot(
|
44 |
+
# avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
|
45 |
+
|
46 |
mychatbot = gr.Chatbot(
|
47 |
+
avatar_images=["./user.png", "./botm.png"],
|
48 |
+
bubble_full_width=False,
|
49 |
+
show_label=False,
|
50 |
+
show_copy_button=True,
|
51 |
+
likeable=True,
|
52 |
+
value=["Bitte antworte immer auf Deutsch."]
|
53 |
+
)
|
54 |
+
|
55 |
|
56 |
demo = gr.ChatInterface(fn=generate,
|
57 |
chatbot=mychatbot,
|