agrega comentarios a interfaz
Browse files
app.py
CHANGED
@@ -21,5 +21,17 @@ app.include_router(
|
|
21 |
tags=["prediction"],
|
22 |
)
|
23 |
|
24 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
iface.launch()
|
|
|
21 |
tags=["prediction"],
|
22 |
)
|
23 |
|
24 |
+
iface = gr.Interface(
|
25 |
+
fn=predict,
|
26 |
+
inputs="text",
|
27 |
+
outputs="text",
|
28 |
+
title="D360 Real State Challenge",
|
29 |
+
description="Haga su pregunta a nuestro agente de real state",
|
30 |
+
examples=[
|
31 |
+
"cuantas propiedades tienen alberca?",
|
32 |
+
"Cual es el precio promedio de las propiedades en venta?",
|
33 |
+
"cuantos apartamentos hay en renta?",
|
34 |
+
"cuantos departamentos en venta tienen más de dos dormitorios?",
|
35 |
+
],
|
36 |
+
)
|
37 |
iface.launch()
|