Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,12 +53,14 @@ def predict(question):
|
|
53 |
return answers
|
54 |
|
55 |
|
56 |
-
title = "Chatbot Refugiados
|
|
|
57 |
|
58 |
iface = gr.Interface(fn=predict,
|
59 |
inputs=[gr.inputs.Textbox(lines=3, label='Haz una pregunta')],
|
60 |
outputs="text",
|
61 |
title=title,
|
|
|
62 |
theme="huggingface",
|
63 |
examples=['Dónde pedir ayuda?', 'qué hacer al llegar a España?']
|
64 |
)
|
|
|
53 |
return answers
|
54 |
|
55 |
|
56 |
+
title = "Chatbot Refugiados"
|
57 |
+
description= "Our chatbot helps refugees arriving in Spain by providing information on key topics."
|
58 |
|
59 |
iface = gr.Interface(fn=predict,
|
60 |
inputs=[gr.inputs.Textbox(lines=3, label='Haz una pregunta')],
|
61 |
outputs="text",
|
62 |
title=title,
|
63 |
+
description = description,
|
64 |
theme="huggingface",
|
65 |
examples=['Dónde pedir ayuda?', 'qué hacer al llegar a España?']
|
66 |
)
|