lorenzoscottb commited on
Commit
d503e75
β€’
1 Parent(s): 5482eed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ pipe_S = pipeline(
82
  truncation="do_not_truncate",
83
  )
84
  def predict(text):
85
- t = pipe(text)
86
  t = {list(dct.values())[0] : list(dct.values())[1] for dct in t[0]}
87
  return t
88
  interface_model_S = gr.Interface(
 
82
  truncation="do_not_truncate",
83
  )
84
  def predict(text):
85
+ t = pipe_S(text)
86
  t = {list(dct.values())[0] : list(dct.values())[1] for dct in t[0]}
87
  return t
88
  interface_model_S = gr.Interface(