momo commited on
Commit
dcc129c
1 Parent(s): aea35b3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ function_to_apply='sigmoid'
22
  )
23
 
24
  def predict(text):
25
- return pipe(text)[0]["translation_text"]
26
 
27
  iface = gr.Interface(
28
  fn=predict,
 
22
  )
23
 
24
  def predict(text):
25
+ return pipe(text)[0]
26
 
27
  iface = gr.Interface(
28
  fn=predict,