Commit
•
3b8e1b8
1
Parent(s):
568ea9a
Update app.py
Browse files
app.py
CHANGED
@@ -16,11 +16,10 @@ def predict(payload):
|
|
16 |
# Crear una interfaz Gradio
|
17 |
iface = gr.Interface(
|
18 |
fn=predict,
|
19 |
-
inputs=gr.
|
20 |
-
outputs=gr.
|
21 |
live=False,
|
22 |
-
|
23 |
-
title="Clasificador de Texto"
|
24 |
)
|
25 |
|
26 |
# Iniciar la interfaz Gradio
|
|
|
16 |
# Crear una interfaz Gradio
|
17 |
iface = gr.Interface(
|
18 |
fn=predict,
|
19 |
+
inputs=gr.Textbox(),
|
20 |
+
outputs=gr.Textbox(),
|
21 |
live=False,
|
22 |
+
title="Recortador de Texto"
|
|
|
23 |
)
|
24 |
|
25 |
# Iniciar la interfaz Gradio
|