Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,13 +16,13 @@ def classify_message(ues_detallada, medio_de_comunicacion, asunto_o_copy):
|
|
| 16 |
iface = gr.Interface(
|
| 17 |
fn=classify_message,
|
| 18 |
inputs=[
|
| 19 |
-
gr.
|
| 20 |
-
gr.Radio(["
|
| 21 |
-
gr.Textbox(lines=2, placeholder="Escribe el asunto o copy del mensaje aqu
|
| 22 |
],
|
| 23 |
outputs="text",
|
| 24 |
title="Clasificador de Campa帽as",
|
| 25 |
-
description="
|
| 26 |
)
|
| 27 |
|
| 28 |
# Lanzar la interfaz
|
|
|
|
| 16 |
iface = gr.Interface(
|
| 17 |
fn=classify_message,
|
| 18 |
inputs=[
|
| 19 |
+
gr.Textbox(lines=2, placeholder="Escribe la UES aqu铆.", label="UES")
|
| 20 |
+
gr.Radio(["EMAIL", "SMS"], label="Canal de Comunicaci贸n"),
|
| 21 |
+
gr.Textbox(lines=2, placeholder="Escribe el asunto o copy del mensaje aqu铆.", label="Asunto o Copy")
|
| 22 |
],
|
| 23 |
outputs="text",
|
| 24 |
title="Clasificador de Campa帽as",
|
| 25 |
+
description="Describe la unidad de negocio, el canal de comunicaci贸n y escribe el copy de la campa帽a para clasificar si es comercial o informativo."
|
| 26 |
)
|
| 27 |
|
| 28 |
# Lanzar la interfaz
|