FelipeMena commited on
Commit
82017d9
·
verified ·
1 Parent(s): 0d06af3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -66,7 +66,7 @@ def chat_biblioteca(pregunta, historial):
66
 
67
 
68
  # --- Interfaz ---
69
- iface = gr.Interface(
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()