ancebuc commited on
Commit
cae5887
·
1 Parent(s): 2a03e0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -30,4 +30,5 @@ def predict(text):
30
  return pred
31
 
32
  # Creamos la interfaz y la lanzamos.
33
- gr.Interface(fn=predict, inputs=gr.inputs.Textbox(), outputs=gr.outputs.Label()).launch(share=False)
 
 
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)