Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,11 +63,11 @@ if __name__=="__main__":
|
|
63 |
return src.model_load(message,retriever)
|
64 |
|
65 |
iface = gr.Interface(
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
)
|
72 |
|
73 |
-
iface.launch(
|
|
|
63 |
return src.model_load(message,retriever)
|
64 |
|
65 |
iface = gr.Interface(
|
66 |
+
fn=chatbot_response,
|
67 |
+
inputs=gr.Textbox(label="Escribe tu mensaje"),
|
68 |
+
outputs=gr.Textbox(label="Respuesta del chatbot"),
|
69 |
+
title="Chatbot Simple",
|
70 |
+
description="Interfaz simple de chatbot con Gradio."
|
71 |
)
|
72 |
|
73 |
+
iface.launch()
|