Update app.py
Browse files
app.py
CHANGED
@@ -320,7 +320,7 @@ def create_ui() -> gr.Blocks:
|
|
320 |
value=[{"role": "assistant", "content": CHATBOT_INITIAL_MESSAGE}],
|
321 |
label="🤖 AI Assistant",
|
322 |
height=450,
|
323 |
-
|
324 |
avatar_images=(
|
325 |
"https://cdn-icons-png.flaticon.com/512/149/149071.png",
|
326 |
"https://huggingface.co/datasets/huggingface/brand-assets/resolve/main/hf-logo.png"
|
|
|
320 |
value=[{"role": "assistant", "content": CHATBOT_INITIAL_MESSAGE}],
|
321 |
label="🤖 AI Assistant",
|
322 |
height=450,
|
323 |
+
type="messages",
|
324 |
avatar_images=(
|
325 |
"https://cdn-icons-png.flaticon.com/512/149/149071.png",
|
326 |
"https://huggingface.co/datasets/huggingface/brand-assets/resolve/main/hf-logo.png"
|