Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -50,8 +50,8 @@ def predict(payload):
|
|
50 |
# Crear una interfaz Gradio
|
51 |
iface = gr.Interface(
|
52 |
fn=predict,
|
53 |
-
inputs=gr.
|
54 |
-
outputs=gr.
|
55 |
live=False,
|
56 |
layout='vertical',
|
57 |
title="Clasificador de Texto"
|
|
|
50 |
# Crear una interfaz Gradio
|
51 |
iface = gr.Interface(
|
52 |
fn=predict,
|
53 |
+
inputs=gr.Textbox(),
|
54 |
+
outputs=gr.Textbox(),
|
55 |
live=False,
|
56 |
layout='vertical',
|
57 |
title="Clasificador de Texto"
|