Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,4 +30,5 @@ def predict(text):
|
|
| 30 |
return pred
|
| 31 |
|
| 32 |
# Creamos la interfaz y la lanzamos.
|
| 33 |
-
|
|
|
|
|
|
| 30 |
return pred
|
| 31 |
|
| 32 |
# Creamos la interfaz y la lanzamos.
|
| 33 |
+
label = gr.outputs.Label(postprocessing_fn=postprocessing)
|
| 34 |
+
gr.Interface(fn=predict, inputs=gr.inputs.Textbox(), outputs=label).launch(share=False)
|