islasher commited on
Commit
7756fe1
1 Parent(s): a25ac0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def predict(frase):
85
  # inputs = tokenizer(frase, return_tensors="pt")
86
  # outputs = model(**inputs)
87
  # trad = tokenizer.decode(outputs[0], skip_special_tokens=True)
88
- return neutralizer
89
 
90
  # Creamos la interfaz y la lanzamos.
91
  #gr.Interface(fn=neutralizer, inputs="text", outputs="text").launch(share=False)
 
85
  # inputs = tokenizer(frase, return_tensors="pt")
86
  # outputs = model(**inputs)
87
  # trad = tokenizer.decode(outputs[0], skip_special_tokens=True)
88
+ return neutralizer()
89
 
90
  # Creamos la interfaz y la lanzamos.
91
  #gr.Interface(fn=neutralizer, inputs="text", outputs="text").launch(share=False)