Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -161,7 +161,7 @@ def rag(input_text, history, jezik, file):
|
|
| 161 |
iface = gr.ChatInterface(rag,
|
| 162 |
title="UChat",
|
| 163 |
description="Postavite pitanje ili opišite problem koji imate",
|
| 164 |
-
chatbot=gr.Chatbot("Kako Vam mogu pomoći?", type='messages', label="Uchat", height=300),
|
| 165 |
textbox=gr.Textbox(placeholder="Pitanje ili opis problema", container=False, scale=7),
|
| 166 |
theme="soft",
|
| 167 |
# examples=["Ne radi mi internet", "Koje usluge imam na raspologanju?", "Ne radi mi daljinski upravljač, šta da radim?"],
|
|
|
|
| 161 |
iface = gr.ChatInterface(rag,
|
| 162 |
title="UChat",
|
| 163 |
description="Postavite pitanje ili opišite problem koji imate",
|
| 164 |
+
chatbot=gr.Chatbot(ChatMessage(role="assistant", content="Kako Vam mogu pomoći?"), type='messages', label="Uchat", height=300),
|
| 165 |
textbox=gr.Textbox(placeholder="Pitanje ili opis problema", container=False, scale=7),
|
| 166 |
theme="soft",
|
| 167 |
# examples=["Ne radi mi internet", "Koje usluge imam na raspologanju?", "Ne radi mi daljinski upravljač, šta da radim?"],
|