Mapu25 commited on
Commit
17192b1
·
verified ·
1 Parent(s): 10b3886

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -142,10 +142,12 @@ chat = gr.ChatInterface(
142
  title="📚 Biblioteca PRIMONDE",
143
  description="Asistente virtual de la biblioteca",
144
  chatbot=gr.Chatbot(
145
- value=[(
146
- None,
147
- "¡Hola! 😊 Soy tu asistente de la biblioteca 📚\n\nPuedes preguntarme cosas como:\n• “buscar libro 1984”\n• “horario de la biblioteca”\n• “necesito capacitación”\n\n¿En qué te ayudo?"
148
- )]
 
 
149
  )
150
  )
151
 
 
142
  title="📚 Biblioteca PRIMONDE",
143
  description="Asistente virtual de la biblioteca",
144
  chatbot=gr.Chatbot(
145
+ value=[
146
+ {
147
+ "role": "assistant",
148
+ "content": "¡Hola! 😊 Soy tu asistente de la biblioteca 📚\n\nPuedes preguntarme cosas como:\n• “buscar libro 1984”\n• “horario de la biblioteca”\n• “necesito capacitación”\n\n¿En qué te ayudo?"
149
+ }
150
+ ]
151
  )
152
  )
153