Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def chat_biblioteca(pregunta, historial):
|
|
66 |
|
67 |
|
68 |
# --- Interfaz ---
|
69 |
-
|
70 |
fn=chat_biblioteca,
|
71 |
title="📚 BiblioBot",
|
72 |
description="¡Bienvenido a BiblioBot! Pregunta sobre libros, horarios o servicios de biblioteca.",
|
@@ -80,6 +80,4 @@ iface = gr.Interface(
|
|
80 |
],
|
81 |
retry_btn="Reintentar",
|
82 |
clear_btn="Borrar historial",
|
83 |
-
)
|
84 |
-
|
85 |
-
iface.launch()
|
|
|
66 |
|
67 |
|
68 |
# --- Interfaz ---
|
69 |
+
gr.Interface(
|
70 |
fn=chat_biblioteca,
|
71 |
title="📚 BiblioBot",
|
72 |
description="¡Bienvenido a BiblioBot! Pregunta sobre libros, horarios o servicios de biblioteca.",
|
|
|
80 |
],
|
81 |
retry_btn="Reintentar",
|
82 |
clear_btn="Borrar historial",
|
83 |
+
).launch()
|
|
|
|