Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -196,7 +196,7 @@ def responder(mensaje, historial):
|
|
| 196 |
# 🔎 BÚSQUEDA DE LIBROS
|
| 197 |
if (
|
| 198 |
("libro" in mensaje or "autor" in mensaje)
|
| 199 |
-
and not any(p in mensaje for p in ["renovar", "prestamo", "préstamo", "cuantos", "dias", "tiempo","prestan"])
|
| 200 |
):
|
| 201 |
consulta = limpiar_consulta(mensaje).strip()
|
| 202 |
|
|
|
|
| 196 |
# 🔎 BÚSQUEDA DE LIBROS
|
| 197 |
if (
|
| 198 |
("libro" in mensaje or "autor" in mensaje)
|
| 199 |
+
and not any(p in mensaje for p in ["renovar", "prestamo", "préstamo", "cuantos", "dias", "tiempo","prestan","reservo","reservar","reserva"])
|
| 200 |
):
|
| 201 |
consulta = limpiar_consulta(mensaje).strip()
|
| 202 |
|