Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,9 +16,9 @@ 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.
|
| 21 |
-
gr.
|
| 22 |
],
|
| 23 |
outputs="text",
|
| 24 |
title="Clasificador de Campa帽as",
|
|
|
|
| 16 |
iface = gr.Interface(
|
| 17 |
fn=classify_message,
|
| 18 |
inputs=[
|
| 19 |
+
gr.Dropdown(["Unidad de Negocio 1", "Unidad de Negocio 2", "Unidad de Negocio 3"], label="Unidad de Negocio"),
|
| 20 |
+
gr.Radio(["Correo", "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",
|